#F2D77E#F2D77E
#F2D77E is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.3% C 0.113 H 93.0°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D77E |
|---|---|
| RGB | rgb(242, 215, 126) |
| HSL | hsl(46, 82%, 72%) |
| HSV | hsv(46, 48%, 95%) |
| CMYK | cmyk(0%, 11.2%, 47.9%, 5.1%) |
| CIE-LAB | lab(86.50, -1.99, 47.10) |
| CIE-LCH | lch(86.50, 47.14, 92.42°) |
| OKLab | oklab(88.3% -0.006 0.113) |
| OKLCH | oklch(88.3% 0.113 93) |
| XYZ | xyz(64.6864, 68.9872, 29.6432) |
| Luminance | 0.6898 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.73
Wheat (survey)
#FBDD7E
ΔE00 1.80
Sand (survey)
#E2CA76
ΔE00 3.31
Pale Gold
#FDDE6C
ΔE00 3.83
Light Mustard
#F7D560
ΔE00 4.06
Yellow Tan
#FFE36E
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D77E #7E99F2
analogous
#F29D7E #F2D77E #D3F27E
triadic
#F2D77E #7EF2D7 #D77EF2
tetradic
#F2D77E #7EF29D #7E99F2 #F27ED3
square
#F2D77E #7EF29D #7E99F2 #F27ED3
split-complementary
#F2D77E #7ED3F2 #9D7EF2
monochromatic
#DFB016 #ECC646 #F2D77E #F8E8B6 #FCF6E3
Accessibility & contrast
On white
1.42
#F2D77E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.80
#F2D77E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D77E
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D77E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D77E | 1.00 | 1.42 | 14.80 | 14.80 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D477
Deuteranopia (green-blind)
#EFDC81
Tritanopia (blue-blind)
#FFCAC2
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d77e; /* rgb */ color: rgb(242, 215, 126); /* oklch */ color: oklch(88.3% 0.113 93.0);
Tailwind
colors: {
custom: {
50: '#f8e3a5',
500: '#f2d77e',
950: '#000000',
},
}SCSS
$custom: #f2d77e; $custom-light: #f8e3a5; $custom-dark: #000000;
JSON
{
"hex": "#f2d77e",
"rgb": {
"r": 242,
"g": 215,
"b": 126
},
"hsl": {
"h": 46.034,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.88298,
"c": 0.11314,
"h": 93
},
"luminance": 0.68984
}Semantic roles & 50–950 ramp
primary
#F2D77E
secondary
#4766CD
accent
#39DE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480