#F2D055#F2D055
#F2D055 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.4% C 0.144 H 93.6°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D055 |
|---|---|
| RGB | rgb(242, 208, 85) |
| HSL | hsl(47, 86%, 64%) |
| HSV | hsv(47, 65%, 95%) |
| CMYK | cmyk(0%, 14%, 64.9%, 5.1%) |
| CIE-LAB | lab(84.30, -1.48, 63.44) |
| CIE-LCH | lch(84.30, 63.46, 91.34°) |
| OKLab | oklab(86.43% -0.0091 0.1439) |
| OKLCH | oklch(86.43% 0.144 93.6) |
| XYZ | xyz(60.8165, 64.6481, 17.8675) |
| Luminance | 0.6464 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.53
Light Mustard
#F7D560
ΔE00 1.38
Light Gold
#FDDC5C
ΔE00 2.76
Pale Gold
#FDDE6C
ΔE00 3.38
Sand Yellow
#FCE166
ΔE00 4.08
Yellow Tan
#FFE36E
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D055 #5577F2
analogous
#F28255 #F2D055 #C6F255
triadic
#F2D055 #55F2D0 #D055F2
tetradic
#F2D055 #55F282 #5577F2 #F255C6
square
#F2D055 #55F282 #5577F2 #F255C6
split-complementary
#F2D055 #55C6F2 #8255F2
monochromatic
#BE980F #EEC01C #F2D055 #F6E08E #FBEFC7
Accessibility & contrast
On white
1.51
#F2D055 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.93
#F2D055 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D055
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D055 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D055 | 1.00 | 1.51 | 13.93 | 13.93 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CC46
Deuteranopia (green-blind)
#EDD75B
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f2d055; /* rgb */ color: rgb(242, 208, 85); /* oklch */ color: oklch(86.4% 0.144 93.6);
Tailwind
colors: {
custom: {
50: '#fade8a',
500: '#f2d055',
950: '#000000',
},
}SCSS
$custom: #f2d055; $custom-light: #fade8a; $custom-dark: #000000;
JSON
{
"hex": "#f2d055",
"rgb": {
"r": 242,
"g": 208,
"b": 85
},
"hsl": {
"h": 47.006,
"s": 85.792,
"l": 64.118
},
"oklch": {
"l": 0.86425,
"c": 0.1442,
"h": 93.6
},
"luminance": 0.64645
}Semantic roles & 50–950 ramp
primary
#F2D055
secondary
#2F4EBC
accent
#34E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F