#F2D859#F2D859
#F2D859 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.147 H 97.7°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D859 |
|---|---|
| RGB | rgb(242, 216, 89) |
| HSL | hsl(50, 85%, 65%) |
| HSV | hsv(50, 63%, 95%) |
| CMYK | cmyk(0%, 10.7%, 63.2%, 5.1%) |
| CIE-LAB | lab(86.36, -5.31, 63.95) |
| CIE-LCH | lch(86.36, 64.17, 94.75°) |
| OKLab | oklab(88.07% -0.0196 0.1456) |
| OKLCH | oklch(88.07% 0.147 97.7) |
| XYZ | xyz(62.9797, 68.7132, 19.3949) |
| Luminance | 0.6871 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 2.14
Light Gold
#FDDC5C
ΔE00 2.15
Dull Yellow
#EEDC5B
ΔE00 2.19
Light Mustard
#F7D560
ΔE00 2.57
Pale Gold
#FDDE6C
ΔE00 2.67
Yellow Tan
#FFE36E
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D859 #5973F2
analogous
#F28C59 #F2D859 #BFF259
triadic
#F2D859 #59F2D8 #D859F2
tetradic
#F2D859 #59F28C #5973F2 #F259BF
square
#F2D859 #59F28C #5973F2 #F259BF
split-complementary
#F2D859 #59BFF2 #8C59F2
monochromatic
#C1A30F #EECB20 #F2D859 #F6E592 #FBF3CB
Accessibility & contrast
On white
1.42
#F2D859 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.74
#F2D859 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D859
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D859 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D859 | 1.00 | 1.42 | 14.74 | 14.74 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD34A
Deuteranopia (green-blind)
#F3DC60
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d859; /* rgb */ color: rgb(242, 216, 89); /* oklch */ color: oklch(88.1% 0.147 97.7);
Tailwind
colors: {
custom: {
50: '#fae38d',
500: '#f2d859',
950: '#000000',
},
}SCSS
$custom: #f2d859; $custom-light: #fae38d; $custom-dark: #000000;
JSON
{
"hex": "#f2d859",
"rgb": {
"r": 242,
"g": 216,
"b": 89
},
"hsl": {
"h": 49.804,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.88065,
"c": 0.14692,
"h": 97.7
},
"luminance": 0.6871
}Semantic roles & 50–950 ramp
primary
#F2D859
secondary
#3048BF
accent
#29E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F