#F2DF6B#F2DF6B
#F2DF6B is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.7% C 0.138 H 100.1°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF6B |
|---|---|
| RGB | rgb(242, 223, 107) |
| HSL | hsl(52, 84%, 68%) |
| HSV | hsv(52, 56%, 95%) |
| CMYK | cmyk(0%, 7.9%, 55.8%, 5.1%) |
| CIE-LAB | lab(88.31, -7.62, 58.23) |
| CIE-LCH | lch(88.31, 58.73, 97.45°) |
| OKLab | oklab(89.66% -0.0242 0.1356) |
| OKLCH | oklch(89.66% 0.138 100.1) |
| XYZ | xyz(65.6618, 72.7167, 24.4841) |
| Luminance | 0.7271 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.72
Sand Yellow
#FCE166
ΔE00 2.32
Yellow Tan
#FFE36E
ΔE00 2.65
Sandy
#F1DA7A
ΔE00 3.08
Pale Gold
#FDDE6C
ΔE00 3.24
Sandy Yellow
#FDEE73
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF6B #6B7EF2
analogous
#F29B6B #F2DF6B #C1F26B
triadic
#F2DF6B #6BF2DF #DF6BF2
tetradic
#F2DF6B #6BF29B #6B7EF2 #F26BC1
square
#F2DF6B #6BF29B #6B7EF2 #F26BC1
split-complementary
#F2DF6B #6BC1F2 #9B6BF2
monochromatic
#D0B612 #EDD333 #F2DF6B #F7EBA3 #FCF7DC
Accessibility & contrast
On white
1.35
#F2DF6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.54
#F2DF6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF6B
15.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF6B | 1.00 | 1.35 | 15.54 | 15.54 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D960
Deuteranopia (green-blind)
#F7E171
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2df6b; /* rgb */ color: rgb(242, 223, 107); /* oklch */ color: oklch(89.7% 0.138 100.1);
Tailwind
colors: {
custom: {
50: '#f9e899',
500: '#f2df6b',
950: '#000000',
},
}SCSS
$custom: #f2df6b; $custom-light: #f9e899; $custom-dark: #000000;
JSON
{
"hex": "#f2df6b",
"rgb": {
"r": 242,
"g": 223,
"b": 107
},
"hsl": {
"h": 51.556,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.89664,
"c": 0.13779,
"h": 100.1
},
"luminance": 0.72714
}Semantic roles & 50–950 ramp
primary
#F2DF6B
secondary
#364BCB
accent
#24E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F