#F2D155#F2D155
#F2D155 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.145 H 94.2°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D155 |
|---|---|
| RGB | rgb(242, 209, 85) |
| HSL | hsl(47, 86%, 64%) |
| HSV | hsv(47, 65%, 95%) |
| CMYK | cmyk(0%, 13.6%, 64.9%, 5.1%) |
| CIE-LAB | lab(84.55, -1.99, 63.71) |
| CIE-LCH | lch(84.55, 63.74, 91.79°) |
| OKLab | oklab(86.62% -0.0106 0.1445) |
| OKLCH | oklch(86.62% 0.145 94.2) |
| XYZ | xyz(61.0610, 65.1372, 17.9491) |
| Luminance | 0.6513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.82
Light Mustard
#F7D560
ΔE00 1.34
Light Gold
#FDDC5C
ΔE00 2.53
Pale Gold
#FDDE6C
ΔE00 3.20
Sand Yellow
#FCE166
ΔE00 3.78
Yellow Tan
#FFE36E
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D155 #5576F2
analogous
#F28355 #F2D155 #C4F255
triadic
#F2D155 #55F2D1 #D155F2
tetradic
#F2D155 #55F283 #5576F2 #F255C4
square
#F2D155 #55F283 #5576F2 #F255C4
split-complementary
#F2D155 #55C4F2 #8355F2
monochromatic
#BE990F #EEC21C #F2D155 #F6E08E #FBF0C7
Accessibility & contrast
On white
1.50
#F2D155 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.03
#F2D155 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D155
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D155 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D155 | 1.00 | 1.50 | 14.03 | 14.03 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CD46
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f2d155; /* rgb */ color: rgb(242, 209, 85); /* oklch */ color: oklch(86.6% 0.145 94.2);
Tailwind
colors: {
custom: {
50: '#fade8a',
500: '#f2d155',
950: '#000000',
},
}SCSS
$custom: #f2d155; $custom-light: #fade8a; $custom-dark: #000000;
JSON
{
"hex": "#f2d155",
"rgb": {
"r": 242,
"g": 209,
"b": 85
},
"hsl": {
"h": 47.389,
"s": 85.792,
"l": 64.118
},
"oklch": {
"l": 0.86624,
"c": 0.14487,
"h": 94.2
},
"luminance": 0.65134
}Semantic roles & 50–950 ramp
primary
#F2D155
secondary
#2F4DBC
accent
#32E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F