#F2D657#F2D657
#F2D657 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.6% C 0.147 H 96.8°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D657 |
|---|---|
| RGB | rgb(242, 214, 87) |
| HSL | hsl(49, 86%, 65%) |
| HSV | hsv(49, 64%, 95%) |
| CMYK | cmyk(0%, 11.6%, 64%, 5.1%) |
| CIE-LAB | lab(85.84, -4.42, 64.23) |
| CIE-LCH | lch(85.84, 64.39, 93.94°) |
| OKLab | oklab(87.64% -0.0173 0.1459) |
| OKLCH | oklch(87.64% 0.147 96.8) |
| XYZ | xyz(62.3876, 67.6615, 18.7888) |
| Luminance | 0.6766 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 2.00
Light Mustard
#F7D560
ΔE00 2.09
Maize
#F4D054
ΔE00 2.47
Sand Yellow
#FCE166
ΔE00 2.52
Pale Gold
#FDDE6C
ΔE00 2.69
Dull Yellow
#EEDC5B
ΔE00 2.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D657 #5773F2
analogous
#F28957 #F2D657 #C1F257
triadic
#F2D657 #57F2D6 #D657F2
tetradic
#F2D657 #57F289 #5773F2 #F257C1
square
#F2D657 #57F289 #5773F2 #F257C1
split-complementary
#F2D657 #57C1F2 #8957F2
monochromatic
#C0A00F #EEC81E #F2D657 #F6E490 #FBF2C9
Accessibility & contrast
On white
1.45
#F2D657 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.53
#F2D657 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D657
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D657 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D657 | 1.00 | 1.45 | 14.53 | 14.53 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD148
Deuteranopia (green-blind)
#F1DB5E
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d657; /* rgb */ color: rgb(242, 214, 87); /* oklch */ color: oklch(87.6% 0.147 96.8);
Tailwind
colors: {
custom: {
50: '#fae28c',
500: '#f2d657',
950: '#000000',
},
}SCSS
$custom: #f2d657; $custom-light: #fae28c; $custom-dark: #000000;
JSON
{
"hex": "#f2d657",
"rgb": {
"r": 242,
"g": 214,
"b": 87
},
"hsl": {
"h": 49.161,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.87644,
"c": 0.14692,
"h": 96.8
},
"luminance": 0.67658
}Semantic roles & 50–950 ramp
primary
#F2D657
secondary
#3049BE
accent
#2CE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F