#F2E677#F2E677
#F2E677 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.2% C 0.133 H 103.1°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E677 |
|---|---|
| RGB | rgb(242, 230, 119) |
| HSL | hsl(54, 83%, 71%) |
| HSV | hsv(54, 51%, 95%) |
| CMYK | cmyk(0%, 5%, 50.8%, 5.1%) |
| CIE-LAB | lab(90.23, -10.16, 54.96) |
| CIE-LCH | lch(90.23, 55.89, 100.48°) |
| OKLab | oklab(91.23% -0.0303 0.1297) |
| OKLCH | oklch(91.23% 0.133 103.1) |
| XYZ | xyz(68.2465, 76.8050, 28.6791) |
| Luminance | 0.7680 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.40
Khaki (CSS)
#F0E68C
ΔE00 3.08
Yellowish
#FAEE66
ΔE00 3.28
Dull Yellow
#EEDC5B
ΔE00 3.46
Straw
#FCF679
ΔE00 3.75
Sand Yellow
#FCE166
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E677 #7783F2
analogous
#F2A877 #F2E677 #C0F277
triadic
#F2E677 #77F2E6 #E677F2
tetradic
#F2E677 #77F2A8 #7783F2 #F277C0
square
#F2E677 #77F2A8 #7783F2 #F277C0
split-complementary
#F2E677 #77C0F2 #A877F2
monochromatic
#DAC715 #EDDC3F #F2E677 #F7F0AF #FCFAE3
Accessibility & contrast
On white
1.28
#F2E677 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.36
#F2E677 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E677
16.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E677 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E677 | 1.00 | 1.28 | 16.36 | 16.36 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7E06D
Deuteranopia (green-blind)
#FBE67C
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e677; /* rgb */ color: rgb(242, 230, 119); /* oklch */ color: oklch(91.2% 0.133 103.1);
Tailwind
colors: {
custom: {
50: '#f9eda1',
500: '#f2e677',
950: '#000000',
},
}SCSS
$custom: #f2e677; $custom-light: #f9eda1; $custom-dark: #000000;
JSON
{
"hex": "#f2e677",
"rgb": {
"r": 242,
"g": 230,
"b": 119
},
"hsl": {
"h": 54.146,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.91228,
"c": 0.13322,
"h": 103.1
},
"luminance": 0.76803
}Semantic roles & 50–950 ramp
primary
#F2E677
secondary
#414FCC
accent
#1CDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480