#F2DC6E#F2DC6E
#F2DC6E is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.1% C 0.133 H 98.2°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC6E |
|---|---|
| RGB | rgb(242, 220, 110) |
| HSL | hsl(50, 84%, 69%) |
| HSV | hsv(50, 55%, 95%) |
| CMYK | cmyk(0%, 9.1%, 54.5%, 5.1%) |
| CIE-LAB | lab(87.58, -5.88, 56.01) |
| CIE-LCH | lch(87.58, 56.32, 95.99°) |
| OKLab | oklab(89.09% -0.0189 0.1312) |
| OKLCH | oklch(89.09% 0.133 98.2) |
| XYZ | xyz(65.0279, 71.1921, 25.0650) |
| Luminance | 0.7119 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.01
Sand Yellow
#FCE166
ΔE00 2.31
Yellow Tan
#FFE36E
ΔE00 2.44
Dull Yellow
#EEDC5B
ΔE00 2.52
Pale Gold
#FDDE6C
ΔE00 2.53
Wheat (survey)
#FBDD7E
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC6E #6E84F2
analogous
#F29A6E #F2DC6E #C6F26E
triadic
#F2DC6E #6EF2DC #DC6EF2
tetradic
#F2DC6E #6EF29A #6E84F2 #F26EC6
square
#F2DC6E #6EF29A #6E84F2 #F26EC6
split-complementary
#F2DC6E #6EC6F2 #9A6EF2
monochromatic
#D3B313 #EDCE36 #F2DC6E #F7EAA6 #FCF7DE
Accessibility & contrast
On white
1.38
#F2DC6E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.24
#F2DC6E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC6E
15.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC6E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC6E | 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)
#EED764
Deuteranopia (green-blind)
#F4DF73
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2dc6e; /* rgb */ color: rgb(242, 220, 110); /* oklch */ color: oklch(89.1% 0.133 98.2);
Tailwind
colors: {
custom: {
50: '#f9e69a',
500: '#f2dc6e',
950: '#000000',
},
}SCSS
$custom: #f2dc6e; $custom-light: #f9e69a; $custom-dark: #000000;
JSON
{
"hex": "#f2dc6e",
"rgb": {
"r": 242,
"g": 220,
"b": 110
},
"hsl": {
"h": 50,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.89092,
"c": 0.13252,
"h": 98.2
},
"luminance": 0.71189
}Semantic roles & 50–950 ramp
primary
#F2DC6E
secondary
#3951CB
accent
#2AE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F