#F2D975#F2D975
#F2D975 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.124 H 95.6°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D975 |
|---|---|
| RGB | rgb(242, 217, 117) |
| HSL | hsl(48, 83%, 70%) |
| HSV | hsv(48, 52%, 95%) |
| CMYK | cmyk(0%, 10.3%, 51.7%, 5.1%) |
| CIE-LAB | lab(86.89, -3.80, 51.92) |
| CIE-LCH | lch(86.89, 52.06, 94.18°) |
| OKLab | oklab(88.58% -0.0121 0.1229) |
| OKLCH | oklch(88.58% 0.124 95.6) |
| XYZ | xyz(64.6439, 69.7900, 26.8919) |
| Luminance | 0.6979 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 0.78
Wheat (survey)
#FBDD7E
ΔE00 2.03
Pale Gold
#FDDE6C
ΔE00 2.61
Light Mustard
#F7D560
ΔE00 3.15
Yellow Tan
#FFE36E
ΔE00 3.16
Sand Yellow
#FCE166
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D975 #758EF2
analogous
#F29A75 #F2D975 #CCF275
triadic
#F2D975 #75F2D9 #D975F2
tetradic
#F2D975 #75F29A #758EF2 #F275CC
square
#F2D975 #75F29A #758EF2 #F275CC
split-complementary
#F2D975 #75CCF2 #9A75F2
monochromatic
#D8B114 #EDCA3D #F2D975 #F7E8AD #FCF7E3
Accessibility & contrast
On white
1.40
#F2D975 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.96
#F2D975 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D975
14.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D975 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D975 | 1.00 | 1.40 | 14.96 | 14.96 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD56C
Deuteranopia (green-blind)
#F1DD79
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f2d975; /* rgb */ color: rgb(242, 217, 117); /* oklch */ color: oklch(88.6% 0.124 95.6);
Tailwind
colors: {
custom: {
50: '#f9e49f',
500: '#f2d975',
950: '#000000',
},
}SCSS
$custom: #f2d975; $custom-light: #f9e49f; $custom-dark: #000000;
JSON
{
"hex": "#f2d975",
"rgb": {
"r": 242,
"g": 217,
"b": 117
},
"hsl": {
"h": 48,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.88575,
"c": 0.12353,
"h": 95.6
},
"luminance": 0.69787
}Semantic roles & 50–950 ramp
primary
#F2D975
secondary
#3F5BCC
accent
#32DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480