#F2D357#F2D357
#F2D357 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.0% C 0.145 H 95.1°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D357 |
|---|---|
| RGB | rgb(242, 211, 87) |
| HSL | hsl(48, 86%, 65%) |
| HSV | hsv(48, 64%, 95%) |
| CMYK | cmyk(0%, 12.8%, 64%, 5.1%) |
| CIE-LAB | lab(85.08, -2.89, 63.42) |
| CIE-LCH | lch(85.08, 63.49, 92.61°) |
| OKLab | oklab(87.04% -0.0129 0.1442) |
| OKLCH | oklch(87.04% 0.145 95.1) |
| XYZ | xyz(61.6354, 66.1570, 18.5380) |
| Luminance | 0.6615 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.37
Maize
#F4D054
ΔE00 1.44
Light Gold
#FDDC5C
ΔE00 2.19
Pale Gold
#FDDE6C
ΔE00 2.82
Sand Yellow
#FCE166
ΔE00 3.21
Yellow Tan
#FFE36E
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D357 #5776F2
analogous
#F28657 #F2D357 #C4F257
triadic
#F2D357 #57F2D3 #D357F2
tetradic
#F2D357 #57F286 #5776F2 #F257C4
square
#F2D357 #57F286 #5776F2 #F257C4
split-complementary
#F2D357 #57C4F2 #8657F2
monochromatic
#C09C0F #EEC41E #F2D357 #F6E290 #FBF1C9
Accessibility & contrast
On white
1.48
#F2D357 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.23
#F2D357 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D357
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D357 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D357 | 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)
#E7CF48
Deuteranopia (green-blind)
#EFD95D
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f2d357; /* rgb */ color: rgb(242, 211, 87); /* oklch */ color: oklch(87.0% 0.145 95.1);
Tailwind
colors: {
custom: {
50: '#fae08c',
500: '#f2d357',
950: '#000000',
},
}SCSS
$custom: #f2d357; $custom-light: #fae08c; $custom-dark: #000000;
JSON
{
"hex": "#f2d357",
"rgb": {
"r": 242,
"g": 211,
"b": 87
},
"hsl": {
"h": 48,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.87042,
"c": 0.14475,
"h": 95.1
},
"luminance": 0.66154
}Semantic roles & 50–950 ramp
primary
#F2D357
secondary
#304CBE
accent
#30E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F