#F2DC6F#F2DC6F
#F2DC6F is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.1% C 0.132 H 98.1°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC6F |
|---|---|
| RGB | rgb(242, 220, 111) |
| HSL | hsl(50, 83%, 69%) |
| HSV | hsv(50, 54%, 95%) |
| CMYK | cmyk(0%, 9.1%, 54.1%, 5.1%) |
| CIE-LAB | lab(87.59, -5.80, 55.56) |
| CIE-LCH | lch(87.59, 55.86, 95.96°) |
| OKLab | oklab(89.1% -0.0186 0.1303) |
| OKLCH | oklch(89.1% 0.132 98.1) |
| XYZ | xyz(65.0827, 71.2140, 25.3533) |
| Luminance | 0.7121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.88
Sand Yellow
#FCE166
ΔE00 2.39
Yellow Tan
#FFE36E
ΔE00 2.48
Pale Gold
#FDDE6C
ΔE00 2.54
Dull Yellow
#EEDC5B
ΔE00 2.64
Wheat (survey)
#FBDD7E
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC6F #6F85F2
analogous
#F29B6F #F2DC6F #C6F26F
triadic
#F2DC6F #6FF2DC #DC6FF2
tetradic
#F2DC6F #6FF29B #6F85F2 #F26FC6
square
#F2DC6F #6FF29B #6F85F2 #F26FC6
split-complementary
#F2DC6F #6FC6F2 #9B6FF2
monochromatic
#D4B313 #EDCE37 #F2DC6F #F7EAA7 #FCF7DF
Accessibility & contrast
On white
1.38
#F2DC6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.24
#F2DC6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC6F
15.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC6F | 1.00 | 1.38 | 15.24 | 15.24 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED765
Deuteranopia (green-blind)
#F4DF74
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f2dc6f; /* rgb */ color: rgb(242, 220, 111); /* oklch */ color: oklch(89.1% 0.132 98.1);
Tailwind
colors: {
custom: {
50: '#f9e69b',
500: '#f2dc6f',
950: '#000000',
},
}SCSS
$custom: #f2dc6f; $custom-light: #f9e69b; $custom-dark: #000000;
JSON
{
"hex": "#f2dc6f",
"rgb": {
"r": 242,
"g": 220,
"b": 111
},
"hsl": {
"h": 49.924,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.89104,
"c": 0.13162,
"h": 98.1
},
"luminance": 0.71211
}Semantic roles & 50–950 ramp
primary
#F2DC6F
secondary
#3A52CB
accent
#2AE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F