#F2D757#F2D757
#F2D757 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.8% C 0.148 H 97.3°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D757 |
|---|---|
| RGB | rgb(242, 215, 87) |
| HSL | hsl(50, 86%, 65%) |
| HSV | hsv(50, 64%, 95%) |
| CMYK | cmyk(0%, 11.2%, 64%, 5.1%) |
| CIE-LAB | lab(86.09, -4.93, 64.51) |
| CIE-LCH | lch(86.09, 64.69, 94.37°) |
| OKLab | oklab(87.85% -0.0188 0.1465) |
| OKLCH | oklch(87.85% 0.148 97.3) |
| XYZ | xyz(62.6415, 68.1692, 18.8734) |
| Luminance | 0.6817 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 2.06
Sand Yellow
#FCE166
ΔE00 2.34
Light Mustard
#F7D560
ΔE00 2.39
Dull Yellow
#EEDC5B
ΔE00 2.49
Pale Gold
#FDDE6C
ΔE00 2.73
Maize
#F4D054
ΔE00 2.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D757 #5772F2
analogous
#F28957 #F2D757 #C0F257
triadic
#F2D757 #57F2D7 #D757F2
tetradic
#F2D757 #57F289 #5772F2 #F257C0
square
#F2D757 #57F289 #5772F2 #F257C0
split-complementary
#F2D757 #57C0F2 #8957F2
monochromatic
#C0A10F #EEC91E #F2D757 #F6E590 #FBF2C9
Accessibility & contrast
On white
1.44
#F2D757 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.63
#F2D757 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D757
14.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D757 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D757 | 1.00 | 1.44 | 14.63 | 14.63 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD248
Deuteranopia (green-blind)
#F2DB5E
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d757; /* rgb */ color: rgb(242, 215, 87); /* oklch */ color: oklch(87.8% 0.148 97.3);
Tailwind
colors: {
custom: {
50: '#fae38c',
500: '#f2d757',
950: '#000000',
},
}SCSS
$custom: #f2d757; $custom-light: #fae38c; $custom-dark: #000000;
JSON
{
"hex": "#f2d757",
"rgb": {
"r": 242,
"g": 215,
"b": 87
},
"hsl": {
"h": 49.548,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.87845,
"c": 0.14767,
"h": 97.3
},
"luminance": 0.68166
}Semantic roles & 50–950 ramp
primary
#F2D757
secondary
#3048BE
accent
#2AE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F