#F2D358#F2D358
#F2D358 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.1% C 0.144 H 95.0°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D358 |
|---|---|
| RGB | rgb(242, 211, 88) |
| HSL | hsl(48, 86%, 65%) |
| HSV | hsv(48, 64%, 95%) |
| CMYK | cmyk(0%, 12.8%, 63.6%, 5.1%) |
| CIE-LAB | lab(85.08, -2.83, 63.01) |
| CIE-LCH | lch(85.08, 63.07, 92.58°) |
| OKLab | oklab(87.05% -0.0127 0.1434) |
| OKLCH | oklch(87.05% 0.144 95) |
| XYZ | xyz(61.6765, 66.1735, 18.7547) |
| Luminance | 0.6617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.29
Maize
#F4D054
ΔE00 1.43
Light Gold
#FDDC5C
ΔE00 2.20
Pale Gold
#FDDE6C
ΔE00 2.77
Sand Yellow
#FCE166
ΔE00 3.21
Yellow Tan
#FFE36E
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D358 #5877F2
analogous
#F28658 #F2D358 #C4F258
triadic
#F2D358 #58F2D3 #D358F2
tetradic
#F2D358 #58F286 #5877F2 #F258C4
square
#F2D358 #58F286 #5877F2 #F258C4
split-complementary
#F2D358 #58C4F2 #8658F2
monochromatic
#C19D0F #EEC41F #F2D358 #F6E291 #FBF1CA
Accessibility & contrast
On white
1.48
#F2D358 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.23
#F2D358 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D358
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D358 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D358 | 1.00 | 1.48 | 14.23 | 14.23 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF4A
Deuteranopia (green-blind)
#EFD95E
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f2d358; /* rgb */ color: rgb(242, 211, 88); /* oklch */ color: oklch(87.1% 0.144 95.0);
Tailwind
colors: {
custom: {
50: '#fae08c',
500: '#f2d358',
950: '#000000',
},
}SCSS
$custom: #f2d358; $custom-light: #fae08c; $custom-dark: #000000;
JSON
{
"hex": "#f2d358",
"rgb": {
"r": 242,
"g": 211,
"b": 88
},
"hsl": {
"h": 47.922,
"s": 85.556,
"l": 64.706
},
"oklch": {
"l": 0.87051,
"c": 0.144,
"h": 95
},
"luminance": 0.6617
}Semantic roles & 50–950 ramp
primary
#F2D358
secondary
#304CBE
accent
#30E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F