#F2D75E#F2D75E
#F2D75E is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.9% C 0.142 H 96.8°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D75E |
|---|---|
| RGB | rgb(242, 215, 94) |
| HSL | hsl(49, 85%, 66%) |
| HSV | hsv(49, 61%, 95%) |
| CMYK | cmyk(0%, 11.2%, 61.2%, 5.1%) |
| CIE-LAB | lab(86.15, -4.49, 61.58) |
| CIE-LCH | lch(86.15, 61.74, 94.17°) |
| OKLab | oklab(87.91% -0.0167 0.1412) |
| OKLCH | oklch(87.91% 0.142 96.8) |
| XYZ | xyz(62.9415, 68.2892, 20.4533) |
| Luminance | 0.6829 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.01
Light Gold
#FDDC5C
ΔE00 2.12
Sand Yellow
#FCE166
ΔE00 2.24
Pale Gold
#FDDE6C
ΔE00 2.28
Dull Yellow
#EEDC5B
ΔE00 2.67
Maize
#F4D054
ΔE00 2.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D75E #5E79F2
analogous
#F28D5E #F2D75E #C3F25E
triadic
#F2D75E #5EF2D7 #D75EF2
tetradic
#F2D75E #5EF28D #5E79F2 #F25EC3
square
#F2D75E #5EF28D #5E79F2 #F25EC3
split-complementary
#F2D75E #5EC3F2 #8D5EF2
monochromatic
#C6A410 #EDC925 #F2D75E #F7E597 #FBF3CF
Accessibility & contrast
On white
1.43
#F2D75E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.66
#F2D75E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D75E
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D75E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D75E | 1.00 | 1.43 | 14.66 | 14.66 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD251
Deuteranopia (green-blind)
#F2DB64
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d75e; /* rgb */ color: rgb(242, 215, 94); /* oklch */ color: oklch(87.9% 0.142 96.8);
Tailwind
colors: {
custom: {
50: '#fae390',
500: '#f2d75e',
950: '#000000',
},
}SCSS
$custom: #f2d75e; $custom-light: #fae390; $custom-dark: #000000;
JSON
{
"hex": "#f2d75e",
"rgb": {
"r": 242,
"g": 215,
"b": 94
},
"hsl": {
"h": 49.054,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.87912,
"c": 0.14223,
"h": 96.8
},
"luminance": 0.68286
}Semantic roles & 50–950 ramp
primary
#F2D75E
secondary
#314CC3
accent
#2CE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F