Open color data
The 148 CSS named colors as a free CSV and JSON file, with RGB, HSL, OKLCH, CMYK, best text color and nearest neighbor. Public domain (CC0).
Download the data
All 148 CSS named colors in one file, with the codes most projects need and two computed fields that are hard to find elsewhere: the best text color for each and its nearest neighbor. The files are free, need no login and are licensed CC0 1.0 (public domain).
Columns
| Column | Type | Meaning |
|---|---|---|
name | text | The CSS keyword, lowercase. |
hex | text | Six-digit hex code, uppercase, with #. |
r, g, b | integer | sRGB channels, 0 to 255. |
hsl_h, hsl_s, hsl_l | integer | HSL as degrees, percent and percent, rounded. |
oklch_l, oklch_c, oklch_h | number | OKLCH lightness (0 to 1), chroma and hue in degrees. Hue is 0 for grays. |
cmyk_c, cmyk_m, cmyk_y, cmyk_k | integer | A direct screen conversion in percent. It is not a print profile. |
best_text | text | #FFFFFF or #000000, whichever has the higher WCAG contrast on this color. |
best_text_contrast | number | The WCAG 2.2 contrast ratio of that text color on this color. |
same_hex_as | text | Other keywords with the same value, separated by semicolons. For example aqua and cyan. |
nearest_other | text | The closest other named color with a different hex, by CIEDE2000. |
nearest_other_deltaE2000 | number | That distance. Below 1 is hard to see. Above about 5 the colors read as different. |
Browse the data
| Name | Hex | RGB | HSL | OKLCH | Best text | Nearest other (ΔE) |
|---|---|---|---|---|---|---|
| aliceblue | #F0F8FF | 240, 248, 255 | 208, 100%, 97% | 0.975 0.013 244.3 | Black 19.6:1 | ghostwhite (3.8) |
| antiquewhite | #FAEBD7 | 250, 235, 215 | 34, 78%, 91% | 0.947 0.031 75.2 | Black 17.9:1 | papayawhip (2.3) |
| aqua | #00FFFF | 0, 255, 255 | 180, 100%, 50% | 0.905 0.155 194.8 | Black 16.8:1 | turquoise (8.6) |
| aquamarine | #7FFFD4 | 127, 255, 212 | 160, 100%, 75% | 0.915 0.130 169 | Black 17.2:1 | turquoise (10.7) |
| azure | #F0FFFF | 240, 255, 255 | 180, 100%, 97% | 0.989 0.016 196.9 | Black 20.4:1 | mintcream (2.8) |
| beige | #F5F5DC | 245, 245, 220 | 60, 56%, 91% | 0.964 0.033 107 | Black 19.0:1 | lightyellow (2.7) |
| bisque | #FFE4C4 | 255, 228, 196 | 33, 100%, 88% | 0.933 0.051 71.8 | Black 17.1:1 | blanchedalmond (2.9) |
| black | #000000 | 0, 0, 0 | 0, 0%, 0% | 0.000 0.000 0 | White 21.0:1 | darkslategray (24.3) |
| blanchedalmond | #FFEBCD | 255, 235, 205 | 36, 100%, 90% | 0.948 0.045 78.1 | Black 18.0:1 | papayawhip (1.8) |
| blue | #0000FF | 0, 0, 255 | 240, 100%, 50% | 0.452 0.313 264.1 | White 8.6:1 | mediumblue (6.4) |
| blueviolet | #8A2BE2 | 138, 43, 226 | 271, 76%, 53% | 0.534 0.250 301.4 | White 6.0:1 | darkviolet (4.0) |
| brown | #A52A2A | 165, 42, 42 | 0, 59%, 41% | 0.481 0.160 25.6 | White 7.1:1 | firebrick (3.1) |
| burlywood | #DEB887 | 222, 184, 135 | 34, 57%, 70% | 0.804 0.078 73.4 | Black 11.3:1 | tan (3.1) |
| cadetblue | #5F9EA0 | 95, 158, 160 | 182, 25%, 50% | 0.658 0.065 198.3 | Black 6.9:1 | lightseagreen (9.3) |
| chartreuse | #7FFF00 | 127, 255, 0 | 90, 100%, 50% | 0.890 0.265 136 | Black 16.2:1 | lawngreen (0.7) |
| chocolate | #D2691E | 210, 105, 30 | 25, 75%, 47% | 0.634 0.155 50.3 | Black 5.8:1 | peru (9.0) |
| coral | #FF7F50 | 255, 127, 80 | 16, 100%, 66% | 0.735 0.168 40.2 | Black 8.4:1 | tomato (7.1) |
| cornflowerblue | #6495ED | 100, 149, 237 | 219, 79%, 66% | 0.675 0.141 261.3 | Black 7.1:1 | dodgerblue (5.5) |
| cornsilk | #FFF8DC | 255, 248, 220 | 48, 100%, 93% | 0.977 0.037 95.4 | Black 19.7:1 | beige (3.1) |
| crimson | #DC143C | 220, 20, 60 | 348, 83%, 47% | 0.571 0.222 20.1 | White 5.0:1 | firebrick (9.7) |
| cyan | #00FFFF | 0, 255, 255 | 180, 100%, 50% | 0.905 0.155 194.8 | Black 16.8:1 | turquoise (8.6) |
| darkblue | #00008B | 0, 0, 139 | 240, 100%, 27% | 0.288 0.199 264.1 | White 15.3:1 | navy (1.6) |
| darkcyan | #008B8B | 0, 139, 139 | 180, 100%, 27% | 0.577 0.098 194.8 | Black 5.1:1 | teal (4.0) |
| darkgoldenrod | #B8860B | 184, 134, 11 | 43, 89%, 38% | 0.652 0.132 81.6 | Black 6.5:1 | goldenrod (9.7) |
| darkgray | #A9A9A9 | 169, 169, 169 | 0, 0%, 66% | 0.735 0.000 0 | Black 8.9:1 | silver (6.3) |
| darkgreen | #006400 | 0, 100, 0 | 120, 100%, 20% | 0.436 0.148 142.5 | White 7.4:1 | green (9.4) |
| darkgrey | #A9A9A9 | 169, 169, 169 | 0, 0%, 66% | 0.735 0.000 0 | Black 8.9:1 | silver (6.3) |
| darkkhaki | #BDB76B | 189, 183, 107 | 56, 38%, 58% | 0.767 0.098 104.5 | Black 10.2:1 | khaki (11.7) |
| darkmagenta | #8B008B | 139, 0, 139 | 300, 100%, 27% | 0.447 0.205 328.4 | White 8.5:1 | purple (2.4) |
| darkolivegreen | #556B2F | 85, 107, 47 | 82, 39%, 30% | 0.495 0.090 126.2 | White 6.0:1 | darkgreen (11.2) |
| darkorange | #FF8C00 | 255, 140, 0 | 33, 100%, 50% | 0.750 0.179 58.3 | Black 9.0:1 | sandybrown (8.5) |
| darkorchid | #9932CC | 153, 50, 204 | 280, 61%, 50% | 0.541 0.227 311.5 | White 5.7:1 | blueviolet (4.4) |
| darkred | #8B0000 | 139, 0, 0 | 0, 100%, 27% | 0.400 0.164 29.2 | White 10.0:1 | maroon (2.2) |
| darksalmon | #E9967A | 233, 150, 122 | 15, 72%, 70% | 0.751 0.108 39.4 | Black 9.1:1 | lightsalmon (4.7) |
| darkseagreen | #8FBC8F | 143, 188, 143 | 120, 25%, 65% | 0.751 0.080 144.7 | Black 9.8:1 | mediumaquamarine (9.9) |
| darkslateblue | #483D8B | 72, 61, 139 | 248, 39%, 39% | 0.414 0.125 286 | White 9.1:1 | rebeccapurple (7.3) |
| darkslategray | #2F4F4F | 47, 79, 79 | 180, 25%, 25% | 0.403 0.038 195.8 | White 8.9:1 | dimgray (17.0) |
| darkslategrey | #2F4F4F | 47, 79, 79 | 180, 25%, 25% | 0.403 0.038 195.8 | White 8.9:1 | dimgray (17.0) |
| darkturquoise | #00CED1 | 0, 206, 209 | 181, 100%, 41% | 0.772 0.131 196.6 | Black 10.8:1 | mediumturquoise (3.2) |
| darkviolet | #9400D3 | 148, 0, 211 | 282, 100%, 41% | 0.515 0.261 309.8 | White 6.6:1 | blueviolet (4.0) |
| deeppink | #FF1493 | 255, 20, 147 | 328, 100%, 54% | 0.655 0.261 356.9 | Black 5.8:1 | hotpink (9.8) |
| deepskyblue | #00BFFF | 0, 191, 255 | 195, 100%, 50% | 0.755 0.153 231.6 | Black 9.9:1 | lightskyblue (7.9) |
| dimgray | #696969 | 105, 105, 105 | 0, 0%, 41% | 0.521 0.000 0 | White 5.5:1 | gray (9.1) |
| dimgrey | #696969 | 105, 105, 105 | 0, 0%, 41% | 0.521 0.000 0 | White 5.5:1 | gray (9.1) |
| dodgerblue | #1E90FF | 30, 144, 255 | 210, 100%, 56% | 0.652 0.190 253.2 | Black 6.5:1 | cornflowerblue (5.5) |
| firebrick | #B22222 | 178, 34, 34 | 0, 68%, 42% | 0.497 0.180 26.8 | White 6.7:1 | brown (3.1) |
| floralwhite | #FFFAF0 | 255, 250, 240 | 40, 100%, 97% | 0.986 0.014 84.6 | Black 20.2:1 | oldlace (2.4) |
| forestgreen | #228B22 | 34, 139, 34 | 120, 61%, 34% | 0.558 0.169 142.9 | Black 4.8:1 | green (4.6) |
| fuchsia | #FF00FF | 255, 0, 255 | 300, 100%, 50% | 0.702 0.323 328.4 | Black 6.7:1 | orchid (10.2) |
| gainsboro | #DCDCDC | 220, 220, 220 | 0, 0%, 86% | 0.894 0.000 0 | Black 15.3:1 | lightgray (2.1) |
| ghostwhite | #F8F8FF | 248, 248, 255 | 240, 100%, 99% | 0.981 0.009 286.2 | Black 19.9:1 | whitesmoke (3.6) |
| gold | #FFD700 | 255, 215, 0 | 51, 100%, 50% | 0.887 0.182 95.3 | Black 15.0:1 | yellow (11.6) |
| goldenrod | #DAA520 | 218, 165, 32 | 43, 74%, 49% | 0.752 0.147 84 | Black 9.4:1 | orange (8.9) |
| gray | #808080 | 128, 128, 128 | 0, 0%, 50% | 0.600 0.000 0 | Black 5.3:1 | slategray (8.9) |
| green | #008000 | 0, 128, 0 | 120, 100%, 25% | 0.520 0.177 142.5 | White 5.1:1 | forestgreen (4.6) |
| greenyellow | #ADFF2F | 173, 255, 47 | 84, 100%, 59% | 0.913 0.234 130 | Black 17.1:1 | chartreuse (4.4) |
| grey | #808080 | 128, 128, 128 | 0, 0%, 50% | 0.600 0.000 0 | Black 5.3:1 | slategray (8.9) |
| honeydew | #F0FFF0 | 240, 255, 240 | 120, 100%, 97% | 0.985 0.025 145.4 | Black 20.3:1 | mintcream (4.8) |
| hotpink | #FF69B4 | 255, 105, 180 | 330, 100%, 71% | 0.728 0.197 352 | Black 7.9:1 | palevioletred (8.2) |
| indianred | #CD5C5C | 205, 92, 92 | 0, 53%, 58% | 0.615 0.144 22.2 | Black 5.3:1 | crimson (9.7) |
| indigo | #4B0082 | 75, 0, 130 | 275, 100%, 25% | 0.339 0.179 301.7 | White 12.9:1 | darkblue (7.7) |
| ivory | #FFFFF0 | 255, 255, 240 | 60, 100%, 97% | 0.996 0.020 106.8 | Black 20.8:1 | floralwhite (3.7) |
| khaki | #F0E68C | 240, 230, 140 | 54, 77%, 75% | 0.913 0.112 102.8 | Black 16.4:1 | palegoldenrod (5.2) |
| lavender | #E6E6FA | 230, 230, 250 | 240, 67%, 94% | 0.931 0.027 285.9 | Black 17.1:1 | ghostwhite (6.5) |
| lavenderblush | #FFF0F5 | 255, 240, 245 | 340, 100%, 97% | 0.968 0.017 355.1 | Black 19.0:1 | snow (5.4) |
| lawngreen | #7CFC00 | 124, 252, 0 | 90, 100%, 49% | 0.882 0.263 136.2 | Black 15.8:1 | chartreuse (0.7) |
| lemonchiffon | #FFFACD | 255, 250, 205 | 54, 100%, 90% | 0.978 0.058 102.2 | Black 19.8:1 | lightgoldenrodyellow (2.1) |
| lightblue | #ADD8E6 | 173, 216, 230 | 195, 53%, 79% | 0.856 0.049 219.7 | Black 13.7:1 | powderblue (4.3) |
| lightcoral | #F08080 | 240, 128, 128 | 0, 79%, 72% | 0.725 0.138 21 | Black 8.1:1 | salmon (5.0) |
| lightcyan | #E0FFFF | 224, 255, 255 | 180, 100%, 94% | 0.978 0.032 196.6 | Black 19.9:1 | azure (5.2) |
| lightgoldenrodyellow | #FAFAD2 | 250, 250, 210 | 60, 80%, 90% | 0.975 0.052 107.3 | Black 19.7:1 | lemonchiffon (2.1) |
| lightgray | #D3D3D3 | 211, 211, 211 | 0, 0%, 83% | 0.867 0.000 0 | Black 14.0:1 | gainsboro (2.1) |
| lightgreen | #90EE90 | 144, 238, 144 | 120, 73%, 75% | 0.868 0.156 144.1 | Black 14.8:1 | palegreen (2.8) |
| lightgrey | #D3D3D3 | 211, 211, 211 | 0, 0%, 83% | 0.867 0.000 0 | Black 14.0:1 | gainsboro (2.1) |
| lightpink | #FFB6C1 | 255, 182, 193 | 351, 100%, 86% | 0.847 0.086 9.1 | Black 12.7:1 | pink (2.7) |
| lightsalmon | #FFA07A | 255, 160, 122 | 17, 100%, 74% | 0.794 0.125 42.4 | Black 10.6:1 | darksalmon (4.7) |
| lightseagreen | #20B2AA | 32, 178, 170 | 177, 70%, 41% | 0.691 0.114 189 | Black 8.0:1 | darkturquoise (8.5) |
| lightskyblue | #87CEFA | 135, 206, 250 | 203, 92%, 75% | 0.821 0.095 236.8 | Black 12.2:1 | skyblue (4.5) |
| lightslategray | #778899 | 119, 136, 153 | 210, 14%, 53% | 0.619 0.033 248.4 | Black 5.8:1 | slategray (3.0) |
| lightslategrey | #778899 | 119, 136, 153 | 210, 14%, 53% | 0.619 0.033 248.4 | Black 5.8:1 | slategray (3.0) |
| lightsteelblue | #B0C4DE | 176, 196, 222 | 214, 41%, 78% | 0.814 0.043 255 | Black 11.8:1 | lightskyblue (10.6) |
| lightyellow | #FFFFE0 | 255, 255, 224 | 60, 100%, 94% | 0.992 0.040 107.1 | Black 20.6:1 | beige (2.7) |
| lime | #00FF00 | 0, 255, 0 | 120, 100%, 50% | 0.866 0.295 142.5 | Black 15.3:1 | lawngreen (5.0) |
| limegreen | #32CD32 | 50, 205, 50 | 120, 61%, 50% | 0.742 0.229 142.8 | Black 9.9:1 | yellowgreen (10.9) |
| linen | #FAF0E6 | 250, 240, 230 | 30, 67%, 94% | 0.960 0.017 67.6 | Black 18.7:1 | seashell (1.8) |
| magenta | #FF00FF | 255, 0, 255 | 300, 100%, 50% | 0.702 0.323 328.4 | Black 6.7:1 | orchid (10.2) |
| maroon | #800000 | 128, 0, 0 | 0, 100%, 25% | 0.377 0.155 29.2 | White 10.9:1 | darkred (2.2) |
| mediumaquamarine | #66CDAA | 102, 205, 170 | 160, 51%, 60% | 0.777 0.110 168.8 | Black 10.9:1 | turquoise (8.8) |
| mediumblue | #0000CD | 0, 0, 205 | 240, 100%, 40% | 0.384 0.266 264.1 | White 11.2:1 | blue (6.4) |
| mediumorchid | #BA55D3 | 186, 85, 211 | 288, 59%, 58% | 0.626 0.202 319.2 | Black 5.3:1 | orchid (9.5) |
| mediumpurple | #9370DB | 147, 112, 219 | 260, 60%, 65% | 0.627 0.158 296.7 | Black 5.6:1 | mediumslateblue (6.1) |
| mediumseagreen | #3CB371 | 60, 179, 113 | 147, 50%, 47% | 0.684 0.144 155 | Black 7.9:1 | darkseagreen (10.7) |
| mediumslateblue | #7B68EE | 123, 104, 238 | 249, 80%, 67% | 0.605 0.194 285.5 | Black 5.1:1 | mediumpurple (6.1) |
| mediumspringgreen | #00FA9A | 0, 250, 154 | 157, 100%, 49% | 0.867 0.207 156.9 | Black 15.1:1 | springgreen (4.5) |
| mediumturquoise | #48D1CC | 72, 209, 204 | 178, 60%, 55% | 0.787 0.116 191.6 | Black 11.3:1 | darkturquoise (3.2) |
| mediumvioletred | #C71585 | 199, 21, 133 | 322, 81%, 43% | 0.553 0.222 349.7 | White 5.4:1 | deeppink (12.2) |
| midnightblue | #191970 | 25, 25, 112 | 240, 64%, 27% | 0.288 0.144 272.8 | White 14.8:1 | navy (5.5) |
| mintcream | #F5FFFA | 245, 255, 250 | 150, 100%, 98% | 0.991 0.012 164.8 | Black 20.6:1 | azure (2.8) |
| mistyrose | #FFE4E1 | 255, 228, 225 | 6, 100%, 94% | 0.940 0.030 25.3 | Black 17.4:1 | lavenderblush (5.5) |
| moccasin | #FFE4B5 | 255, 228, 181 | 38, 100%, 85% | 0.930 0.068 81.4 | Black 17.0:1 | wheat (2.0) |
| navajowhite | #FFDEAD | 255, 222, 173 | 36, 100%, 84% | 0.916 0.073 77.4 | Black 16.3:1 | moccasin (2.1) |
| navy | #000080 | 0, 0, 128 | 240, 100%, 25% | 0.271 0.188 264.1 | White 16.0:1 | darkblue (1.6) |
| oldlace | #FDF5E6 | 253, 245, 230 | 39, 85%, 95% | 0.972 0.022 83.3 | Black 19.4:1 | floralwhite (2.4) |
| olive | #808000 | 128, 128, 0 | 60, 100%, 25% | 0.581 0.127 109.8 | Black 5.0:1 | olivedrab (9.8) |
| olivedrab | #6B8E23 | 107, 142, 35 | 80, 60%, 35% | 0.600 0.137 126.3 | Black 5.5:1 | olive (9.8) |
| orange | #FFA500 | 255, 165, 0 | 39, 100%, 50% | 0.793 0.171 70.7 | Black 10.6:1 | darkorange (8.7) |
| orangered | #FF4500 | 255, 69, 0 | 16, 100%, 50% | 0.660 0.229 35.4 | Black 6.1:1 | red (6.4) |
| orchid | #DA70D6 | 218, 112, 214 | 302, 59%, 65% | 0.702 0.181 328.7 | Black 7.3:1 | violet (5.7) |
| palegoldenrod | #EEE8AA | 238, 232, 170 | 55, 67%, 80% | 0.921 0.080 103.2 | Black 16.8:1 | khaki (5.2) |
| palegreen | #98FB98 | 152, 251, 152 | 120, 93%, 79% | 0.903 0.162 144.1 | Black 16.6:1 | lightgreen (2.8) |
| paleturquoise | #AFEEEE | 175, 238, 238 | 180, 65%, 81% | 0.907 0.063 196.1 | Black 16.3:1 | powderblue (4.9) |
| palevioletred | #DB7093 | 219, 112, 147 | 340, 60%, 65% | 0.678 0.138 0.7 | Black 6.8:1 | hotpink (8.2) |
| papayawhip | #FFEFD5 | 255, 239, 213 | 37, 100%, 92% | 0.958 0.038 80 | Black 18.6:1 | blanchedalmond (1.8) |
| peachpuff | #FFDAB9 | 255, 218, 185 | 28, 100%, 86% | 0.911 0.060 63.7 | Black 16.0:1 | bisque (3.9) |
| peru | #CD853F | 205, 133, 63 | 30, 59%, 53% | 0.678 0.123 62.2 | Black 7.0:1 | chocolate (9.0) |
| pink | #FFC0CB | 255, 192, 203 | 350, 100%, 88% | 0.868 0.073 7.1 | Black 13.7:1 | lightpink (2.7) |
| plum | #DDA0DD | 221, 160, 221 | 300, 47%, 75% | 0.783 0.108 326.5 | Black 10.2:1 | violet (8.7) |
| powderblue | #B0E0E6 | 176, 224, 230 | 187, 52%, 80% | 0.875 0.050 205.7 | Black 14.7:1 | lightblue (4.3) |
| purple | #800080 | 128, 0, 128 | 300, 100%, 25% | 0.421 0.194 328.4 | White 9.4:1 | darkmagenta (2.4) |
| rebeccapurple | #663399 | 102, 51, 153 | 270, 50%, 40% | 0.440 0.160 303.4 | White 8.4:1 | darkslateblue (7.3) |
| red | #FF0000 | 255, 0, 0 | 0, 100%, 50% | 0.628 0.258 29.2 | Black 5.2:1 | orangered (6.4) |
| rosybrown | #BC8F8F | 188, 143, 143 | 0, 25%, 65% | 0.693 0.055 18.6 | Black 7.5:1 | lightcoral (12.0) |
| royalblue | #4169E1 | 65, 105, 225 | 225, 73%, 57% | 0.560 0.188 266.4 | White 4.8:1 | slateblue (9.1) |
| saddlebrown | #8B4513 | 139, 69, 19 | 25, 76%, 31% | 0.471 0.112 50.8 | White 7.1:1 | sienna (6.8) |
| salmon | #FA8072 | 250, 128, 114 | 6, 93%, 71% | 0.735 0.151 28.1 | Black 8.4:1 | lightcoral (5.0) |
| sandybrown | #F4A460 | 244, 164, 96 | 28, 87%, 67% | 0.784 0.127 59.7 | Black 10.3:1 | darkorange (8.5) |
| seagreen | #2E8B57 | 46, 139, 87 | 146, 50%, 36% | 0.569 0.119 154.9 | Black 5.0:1 | forestgreen (9.4) |
| seashell | #FFF5EE | 255, 245, 238 | 25, 100%, 97% | 0.976 0.014 57.6 | Black 19.6:1 | linen (1.8) |
| sienna | #A0522D | 160, 82, 45 | 19, 56%, 40% | 0.526 0.115 44.6 | White 5.6:1 | saddlebrown (6.8) |
| silver | #C0C0C0 | 192, 192, 192 | 0, 0%, 75% | 0.808 0.000 0 | Black 11.5:1 | lightgray (4.7) |
| skyblue | #87CEEB | 135, 206, 235 | 197, 71%, 73% | 0.815 0.082 225.8 | Black 12.1:1 | lightskyblue (4.5) |
| slateblue | #6A5ACD | 106, 90, 205 | 248, 53%, 58% | 0.544 0.171 285.5 | White 5.3:1 | mediumslateblue (7.1) |
| slategray | #708090 | 112, 128, 144 | 210, 13%, 50% | 0.593 0.031 248.3 | Black 5.2:1 | lightslategray (3.0) |
| slategrey | #708090 | 112, 128, 144 | 210, 13%, 50% | 0.593 0.031 248.3 | Black 5.2:1 | lightslategray (3.0) |
| snow | #FFFAFA | 255, 250, 250 | 0, 100%, 99% | 0.989 0.005 17.2 | Black 20.3:1 | white (2.5) |
| springgreen | #00FF7F | 0, 255, 127 | 150, 100%, 50% | 0.875 0.235 151 | Black 15.6:1 | mediumspringgreen (4.5) |
| steelblue | #4682B4 | 70, 130, 180 | 207, 44%, 49% | 0.588 0.099 245.7 | Black 5.1:1 | dodgerblue (8.4) |
| tan | #D2B48C | 210, 180, 140 | 34, 44%, 69% | 0.786 0.064 74.6 | Black 10.7:1 | burlywood (3.1) |
| teal | #008080 | 0, 128, 128 | 180, 100%, 25% | 0.543 0.093 194.8 | White 4.8:1 | darkcyan (4.0) |
| thistle | #D8BFD8 | 216, 191, 216 | 300, 24%, 80% | 0.833 0.044 326 | Black 12.4:1 | pink (11.2) |
| tomato | #FF6347 | 255, 99, 71 | 9, 100%, 64% | 0.696 0.196 32.3 | Black 7.1:1 | coral (7.1) |
| turquoise | #40E0D0 | 64, 224, 208 | 174, 72%, 56% | 0.822 0.131 185.1 | Black 12.8:1 | mediumturquoise (5.0) |
| violet | #EE82EE | 238, 130, 238 | 300, 76%, 72% | 0.762 0.186 327.2 | Black 9.1:1 | orchid (5.7) |
| wheat | #F5DEB3 | 245, 222, 179 | 39, 77%, 83% | 0.909 0.061 83 | Black 16.0:1 | moccasin (2.0) |
| white | #FFFFFF | 255, 255, 255 | 0, 0%, 100% | 1.000 0.000 0 | Black 21.0:1 | whitesmoke (2.0) |
| whitesmoke | #F5F5F5 | 245, 245, 245 | 0, 0%, 96% | 0.970 0.000 0 | Black 19.3:1 | white (2.0) |
| yellow | #FFFF00 | 255, 255, 0 | 60, 100%, 50% | 0.968 0.211 109.8 | Black 19.6:1 | gold (11.6) |
| yellowgreen | #9ACD32 | 154, 205, 50 | 80, 61%, 50% | 0.785 0.184 126.6 | Black 11.2:1 | limegreen (10.9) |
Use it in code
Load the CSV with pandas:
import pandas as pd
df = pd.read_csv("https://colorcodekit.com/downloads/css-named-colors.csv")
print(df[df.best_text == "#FFFFFF"].head())
Or fetch the JSON in the browser or in Node:
const res = await fetch("https://colorcodekit.com/downloads/css-named-colors.json");
const { colors } = await res.json();
const darks = colors.filter(c => c.best_text === "#FFFFFF");
Method and source
Names and RGB values come from section 6.1 of the W3C CSS Color Module Level 4. HSL uses the standard sRGB conversion. OKLCH uses the matrices published by Björn Ottosson. Contrast follows the WCAG 2.2 relative luminance formula. Distances use CIEDE2000. Every number is computed by the same code that powers the tools on this site.
How to cite
Colorcodekit.com, "CSS named colors dataset", version 2026-11-18, https://colorcodekit.com/open-data/, CC0 1.0.
Frequently asked questions
Can I use this color dataset in my own project?
Yes. The computed columns are released under CC0 1.0, so you can use, change and redistribute them for any purpose with no permission needed. A link back to this page is welcome but not required. The names and RGB values come from the W3C CSS Color specification, which defines them as facts of the language.
How many named colors does CSS have?
CSS defines 148 named colors. 18 of them share a value with another name, such as aqua and cyan, or gray and grey. The same_hex_as column marks these, so you can keep one spelling of each if you need unique values.
How is the nearest color calculated?
Each color is compared with the other named colors using CIEDE2000, the standard formula for how different two colors look to a person. Colors with the same hex are skipped so that aliases do not hide the real neighbor.
Why are the CMYK values not print values?
They are a direct arithmetic conversion from RGB. Real print color depends on the ink, the paper and the printer profile, so use them as a starting point and check a proof.
How often is the dataset updated?
The CSS named color list is stable and has not changed in years, so the file changes only when we add a column or fix a value. The current version is dated 2026-11-18.
Keep going
See the same colors in the tools.
Content updated