#F2DF75#F2DF75
#F2DF75 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.8% C 0.129 H 99.3°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF75 |
|---|---|
| RGB | rgb(242, 223, 117) |
| HSL | hsl(51, 83%, 70%) |
| HSV | hsv(51, 52%, 95%) |
| CMYK | cmyk(0%, 7.9%, 51.7%, 5.1%) |
| CIE-LAB | lab(88.42, -6.83, 53.74) |
| CIE-LCH | lch(88.42, 54.17, 97.24°) |
| OKLab | oklab(89.78% -0.0209 0.1269) |
| OKLCH | oklch(89.78% 0.129 99.3) |
| XYZ | xyz(66.2186, 72.9395, 27.4168) |
| Luminance | 0.7294 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.05
Yellow Tan
#FFE36E
ΔE00 2.91
Dull Yellow
#EEDC5B
ΔE00 2.94
Sand Yellow
#FCE166
ΔE00 2.96
Pale Gold
#FDDE6C
ΔE00 3.30
Wheat (survey)
#FBDD7E
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF75 #7588F2
analogous
#F2A075 #F2DF75 #C6F275
triadic
#F2DF75 #75F2DF #DF75F2
tetradic
#F2DF75 #75F2A0 #7588F2 #F275C6
square
#F2DF75 #75F2A0 #7588F2 #F275C6
split-complementary
#F2DF75 #75C6F2 #A075F2
monochromatic
#D8BA14 #EDD23D #F2DF75 #F7ECAD #FCF9E3
Accessibility & contrast
On white
1.35
#F2DF75 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.59
#F2DF75 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF75
15.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF75 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF75 | 1.00 | 1.35 | 15.59 | 15.59 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0DA6B
Deuteranopia (green-blind)
#F6E17A
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2df75; /* rgb */ color: rgb(242, 223, 117); /* oklch */ color: oklch(89.8% 0.129 99.3);
Tailwind
colors: {
custom: {
50: '#f9e89f',
500: '#f2df75',
950: '#000000',
},
}SCSS
$custom: #f2df75; $custom-light: #f9e89f; $custom-dark: #000000;
JSON
{
"hex": "#f2df75",
"rgb": {
"r": 242,
"g": 223,
"b": 117
},
"hsl": {
"h": 50.88,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.89783,
"c": 0.12862,
"h": 99.3
},
"luminance": 0.72937
}Semantic roles & 50–950 ramp
primary
#F2DF75
secondary
#3F55CC
accent
#27DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480