#F2D776#F2D776
#F2D776 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.2% C 0.121 H 94.2°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D776 |
|---|---|
| RGB | rgb(242, 215, 118) |
| HSL | hsl(47, 83%, 71%) |
| HSV | hsv(47, 51%, 95%) |
| CMYK | cmyk(0%, 11.2%, 51.2%, 5.1%) |
| CIE-LAB | lab(86.40, -2.70, 50.85) |
| CIE-LCH | lch(86.40, 50.92, 93.04°) |
| OKLab | oklab(88.19% -0.0088 0.1207) |
| OKLCH | oklch(88.19% 0.121 94.2) |
| XYZ | xyz(64.1907, 68.7889, 27.0324) |
| Luminance | 0.6879 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.24
Wheat (survey)
#FBDD7E
ΔE00 1.76
Pale Gold
#FDDE6C
ΔE00 2.87
Light Mustard
#F7D560
ΔE00 3.05
Yellow Tan
#FFE36E
ΔE00 3.67
Sand (survey)
#E2CA76
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D776 #7691F2
analogous
#F29976 #F2D776 #CFF276
triadic
#F2D776 #76F2D7 #D776F2
tetradic
#F2D776 #76F299 #7691F2 #F276CF
square
#F2D776 #76F299 #7691F2 #F276CF
split-complementary
#F2D776 #76CFF2 #9976F2
monochromatic
#D9AE15 #EDC73E #F2D776 #F7E7AE #FCF7E3
Accessibility & contrast
On white
1.42
#F2D776 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.76
#F2D776 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D776
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D776 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D776 | 1.00 | 1.42 | 14.76 | 14.76 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D36E
Deuteranopia (green-blind)
#F0DC7A
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d776; /* rgb */ color: rgb(242, 215, 118); /* oklch */ color: oklch(88.2% 0.121 94.2);
Tailwind
colors: {
custom: {
50: '#f9e39f',
500: '#f2d776',
950: '#000000',
},
}SCSS
$custom: #f2d776; $custom-light: #f9e39f; $custom-dark: #000000;
JSON
{
"hex": "#f2d776",
"rgb": {
"r": 242,
"g": 215,
"b": 118
},
"hsl": {
"h": 46.935,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.88188,
"c": 0.12099,
"h": 94.2
},
"luminance": 0.68786
}Semantic roles & 50–950 ramp
primary
#F2D776
secondary
#405FCC
accent
#36DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480