#F2DC5E#F2DC5E
#F2DC5E is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.9% C 0.146 H 99.4°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC5E |
|---|---|
| RGB | rgb(242, 220, 94) |
| HSL | hsl(51, 85%, 66%) |
| HSV | hsv(51, 61%, 95%) |
| CMYK | cmyk(0%, 9.1%, 61.2%, 5.1%) |
| CIE-LAB | lab(87.42, -7.01, 62.98) |
| CIE-LCH | lch(87.42, 63.37, 96.36°) |
| OKLab | oklab(88.92% -0.024 0.1442) |
| OKLCH | oklch(88.92% 0.146 99.4) |
| XYZ | xyz(64.2341, 70.8746, 20.8842) |
| Luminance | 0.7087 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.10
Sand Yellow
#FCE166
ΔE00 1.89
Yellow Tan
#FFE36E
ΔE00 2.67
Light Gold
#FDDC5C
ΔE00 2.89
Pale Gold
#FDDE6C
ΔE00 3.01
Light Mustard
#F7D560
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC5E #5E74F2
analogous
#F2925E #F2DC5E #BEF25E
triadic
#F2DC5E #5EF2DC #DC5EF2
tetradic
#F2DC5E #5EF292 #5E74F2 #F25EBE
square
#F2DC5E #5EF292 #5E74F2 #F25EBE
split-complementary
#F2DC5E #5EBEF2 #925EF2
monochromatic
#C6AB10 #EDD025 #F2DC5E #F7E897 #FBF5CF
Accessibility & contrast
On white
1.38
#F2DC5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.17
#F2DC5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC5E
15.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC5E | 1.00 | 1.38 | 15.17 | 15.17 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD650
Deuteranopia (green-blind)
#F5DF64
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2dc5e; /* rgb */ color: rgb(242, 220, 94); /* oklch */ color: oklch(88.9% 0.146 99.4);
Tailwind
colors: {
custom: {
50: '#fae690',
500: '#f2dc5e',
950: '#000000',
},
}SCSS
$custom: #f2dc5e; $custom-light: #fae690; $custom-dark: #000000;
JSON
{
"hex": "#f2dc5e",
"rgb": {
"r": 242,
"g": 220,
"b": 94
},
"hsl": {
"h": 51.081,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.8892,
"c": 0.14619,
"h": 99.4
},
"luminance": 0.70872
}Semantic roles & 50–950 ramp
primary
#F2DC5E
secondary
#3147C3
accent
#25E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F