#F2F477#F2F477
#F2F477 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.1% C 0.148 H 109.8°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F477 |
|---|---|
| RGB | rgb(242, 244, 119) |
| HSL | hsl(61, 85%, 71%) |
| HSV | hsv(61, 51%, 96%) |
| CMYK | cmyk(0.8%, 0%, 51.2%, 4.3%) |
| CIE-LAB | lab(93.85, -17.05, 59.20) |
| CIE-LCH | lch(93.85, 61.61, 106.06°) |
| OKLab | oklab(94.1% -0.0499 0.139) |
| OKLCH | oklch(94.1% 0.148 109.8) |
| XYZ | xyz(72.3001, 84.9122, 30.0303) |
| Luminance | 0.8491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.81
Straw
#FCF679
ΔE00 2.03
Faded Yellow
#FEFF7F
ΔE00 2.30
Butter
#FFFF81
ΔE00 2.37
Custard
#FFFD78
ΔE00 2.38
Light Yellow
#FFFE7A
ΔE00 2.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F477 #7977F4
analogous
#F4B777 #F2F477 #B3F477
triadic
#F2F477 #77F2F4 #F477F2
tetradic
#F2F477 #77F4B7 #7977F4 #F477B3
square
#F2F477 #77F4B7 #7977F4 #F477B3
split-complementary
#F2F477 #77B3F4 #B777F4
monochromatic
#DBDF12 #EDEF3E #F2F477 #F7F9B0 #FCFDE3
Accessibility & contrast
On white
1.17
#F2F477 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.98
#F2F477 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F477
17.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F477 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F477 | 1.00 | 1.17 | 17.98 | 17.98 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB6B
Deuteranopia (green-blind)
#FFEF7E
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f2f477; /* rgb */ color: rgb(242, 244, 119); /* oklch */ color: oklch(94.1% 0.148 109.8);
Tailwind
colors: {
custom: {
50: '#f9f7a1',
500: '#f2f477',
950: '#000000',
},
}SCSS
$custom: #f2f477; $custom-light: #f9f7a1; $custom-dark: #000000;
JSON
{
"hex": "#f2f477",
"rgb": {
"r": 242,
"g": 244,
"b": 119
},
"hsl": {
"h": 60.96,
"s": 85.034,
"l": 71.176
},
"oklch": {
"l": 0.94103,
"c": 0.14766,
"h": 109.8
},
"luminance": 0.84911
}Semantic roles & 50–950 ramp
primary
#F2F477
secondary
#4341CF
accent
#04E208
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580