#F2DF6F#F2DF6F
#F2DF6F is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.7% C 0.134 H 99.8°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF6F |
|---|---|
| RGB | rgb(242, 223, 111) |
| HSL | hsl(51, 83%, 69%) |
| HSV | hsv(51, 54%, 95%) |
| CMYK | cmyk(0%, 7.9%, 54.1%, 5.1%) |
| CIE-LAB | lab(88.35, -7.31, 56.45) |
| CIE-LCH | lch(88.35, 56.92, 97.38°) |
| OKLab | oklab(89.71% -0.0229 0.1322) |
| OKLCH | oklch(89.71% 0.134 99.8) |
| XYZ | xyz(65.8771, 72.8028, 25.6181) |
| Luminance | 0.7280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.19
Sand Yellow
#FCE166
ΔE00 2.51
Sandy
#F1DA7A
ΔE00 2.65
Yellow Tan
#FFE36E
ΔE00 2.69
Pale Gold
#FDDE6C
ΔE00 3.21
Sandy Yellow
#FDEE73
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF6F #6F82F2
analogous
#F29E6F #F2DF6F #C3F26F
triadic
#F2DF6F #6FF2DF #DF6FF2
tetradic
#F2DF6F #6FF29E #6F82F2 #F26FC3
square
#F2DF6F #6FF29E #6F82F2 #F26FC3
split-complementary
#F2DF6F #6FC3F2 #9E6FF2
monochromatic
#D4B813 #EDD337 #F2DF6F #F7EBA7 #FCF8DF
Accessibility & contrast
On white
1.35
#F2DF6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.56
#F2DF6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF6F
15.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF6F | 1.00 | 1.35 | 15.56 | 15.56 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA64
Deuteranopia (green-blind)
#F6E174
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2df6f; /* rgb */ color: rgb(242, 223, 111); /* oklch */ color: oklch(89.7% 0.134 99.8);
Tailwind
colors: {
custom: {
50: '#f9e89b',
500: '#f2df6f',
950: '#000000',
},
}SCSS
$custom: #f2df6f; $custom-light: #f9e89b; $custom-dark: #000000;
JSON
{
"hex": "#f2df6f",
"rgb": {
"r": 242,
"g": 223,
"b": 111
},
"hsl": {
"h": 51.298,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.8971,
"c": 0.1342,
"h": 99.8
},
"luminance": 0.728
}Semantic roles & 50–950 ramp
primary
#F2DF6F
secondary
#3A4FCB
accent
#25E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F