#F2DF6D#F2DF6D
#F2DF6D is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.7% C 0.136 H 100.0°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF6D |
|---|---|
| RGB | rgb(242, 223, 109) |
| HSL | hsl(51, 84%, 69%) |
| HSV | hsv(51, 55%, 95%) |
| CMYK | cmyk(0%, 7.9%, 55%, 5.1%) |
| CIE-LAB | lab(88.33, -7.47, 57.34) |
| CIE-LCH | lch(88.33, 57.83, 97.42°) |
| OKLab | oklab(89.69% -0.0236 0.134) |
| OKLCH | oklch(89.69% 0.136 100) |
| XYZ | xyz(65.7682, 72.7593, 25.0446) |
| Luminance | 0.7276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.95
Sand Yellow
#FCE166
ΔE00 2.40
Yellow Tan
#FFE36E
ΔE00 2.66
Sandy
#F1DA7A
ΔE00 2.86
Pale Gold
#FDDE6C
ΔE00 3.22
Sandy Yellow
#FDEE73
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF6D #6D80F2
analogous
#F29D6D #F2DF6D #C3F26D
triadic
#F2DF6D #6DF2DF #DF6DF2
tetradic
#F2DF6D #6DF29D #6D80F2 #F26DC3
square
#F2DF6D #6DF29D #6D80F2 #F26DC3
split-complementary
#F2DF6D #6DC3F2 #9D6DF2
monochromatic
#D2B713 #EDD335 #F2DF6D #F7EBA5 #FCF8DD
Accessibility & contrast
On white
1.35
#F2DF6D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.55
#F2DF6D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF6D
15.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF6D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF6D | 1.00 | 1.35 | 15.55 | 15.55 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D962
Deuteranopia (green-blind)
#F7E172
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2df6d; /* rgb */ color: rgb(242, 223, 109); /* oklch */ color: oklch(89.7% 0.136 100.0);
Tailwind
colors: {
custom: {
50: '#f9e89a',
500: '#f2df6d',
950: '#000000',
},
}SCSS
$custom: #f2df6d; $custom-light: #f9e89a; $custom-dark: #000000;
JSON
{
"hex": "#f2df6d",
"rgb": {
"r": 242,
"g": 223,
"b": 109
},
"hsl": {
"h": 51.429,
"s": 83.648,
"l": 68.824
},
"oklch": {
"l": 0.89687,
"c": 0.13601,
"h": 100
},
"luminance": 0.72757
}Semantic roles & 50–950 ramp
primary
#F2DF6D
secondary
#384DCB
accent
#25E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F