#F2D853#F2D853
#F2D853 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.0% C 0.151 H 98.1°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D853 |
|---|---|
| RGB | rgb(242, 216, 83) |
| HSL | hsl(50, 86%, 64%) |
| HSV | hsv(50, 66%, 95%) |
| CMYK | cmyk(0%, 10.7%, 65.7%, 5.1%) |
| CIE-LAB | lab(86.31, -5.66, 66.39) |
| CIE-LCH | lch(86.31, 66.63, 94.87°) |
| OKLab | oklab(88.01% -0.0213 0.1499) |
| OKLCH | oklch(88.01% 0.151 98.1) |
| XYZ | xyz(62.7380, 68.6165, 18.1216) |
| Luminance | 0.6861 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.21
Light Gold
#FDDC5C
ΔE00 2.27
Sand Yellow
#FCE166
ΔE00 2.40
Light Mustard
#F7D560
ΔE00 2.94
Pale Gold
#FDDE6C
ΔE00 3.11
Yellow Tan
#FFE36E
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D853 #536DF2
analogous
#F28853 #F2D853 #BCF253
triadic
#F2D853 #53F2D8 #D853F2
tetradic
#F2D853 #53F288 #536DF2 #F253BC
square
#F2D853 #53F288 #536DF2 #F253BC
split-complementary
#F2D853 #53BCF2 #8853F2
monochromatic
#BCA00E #EECB1A #F2D853 #F6E58C #FBF2C5
Accessibility & contrast
On white
1.43
#F2D853 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.72
#F2D853 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D853
14.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D853 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D853 | 1.00 | 1.43 | 14.72 | 14.72 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD342
Deuteranopia (green-blind)
#F3DC5A
Tritanopia (blue-blind)
#FFC9BC
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d853; /* rgb */ color: rgb(242, 216, 83); /* oklch */ color: oklch(88.0% 0.151 98.1);
Tailwind
colors: {
custom: {
50: '#fae38a',
500: '#f2d853',
950: '#000000',
},
}SCSS
$custom: #f2d853; $custom-light: #fae38a; $custom-dark: #000000;
JSON
{
"hex": "#f2d853",
"rgb": {
"r": 242,
"g": 216,
"b": 83
},
"hsl": {
"h": 50.189,
"s": 85.946,
"l": 63.725
},
"oklch": {
"l": 0.88011,
"c": 0.15136,
"h": 98.1
},
"luminance": 0.68614
}Semantic roles & 50–950 ramp
primary
#F2D853
secondary
#2E45BB
accent
#28E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F