#F2F790#F2F790
#F2F790 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.0% C 0.126 H 111.0°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F790 |
|---|---|
| RGB | rgb(242, 247, 144) |
| HSL | hsl(63, 87%, 77%) |
| HSV | hsv(63, 42%, 97%) |
| CMYK | cmyk(2%, 0%, 41.7%, 3.1%) |
| CIE-LAB | lab(94.91, -16.21, 48.82) |
| CIE-LCH | lch(94.91, 51.45, 108.37°) |
| OKLab | oklab(95.05% -0.0453 0.118) |
| OKLCH | oklch(95.05% 0.126 111) |
| XYZ | xyz(74.9138, 87.4137, 39.3063) |
| Luminance | 0.8741 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.25
Manilla
#FFFA86
ΔE00 3.32
Pale Yellow
#FFFF84
ΔE00 3.47
Butter
#FFFF81
ΔE00 3.77
Buff
#FEF69E
ΔE00 3.83
Faded Yellow
#FEFF7F
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F790 #9590F7
analogous
#F7C990 #F2F790 #BFF790
triadic
#F2F790 #90F2F7 #F790F2
tetradic
#F2F790 #90F7C9 #9590F7 #F790BF
square
#F2F790 #90F7C9 #9590F7 #F790BF
split-complementary
#F2F790 #90BFF7 #C990F7
monochromatic
#E5EF1E #EBF357 #F2F790 #F9FBC9 #FCFDE2
Accessibility & contrast
On white
1.14
#F2F790 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.48
#F2F790 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F790
18.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F790 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F790 | 1.00 | 1.14 | 18.48 | 18.48 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF88
Deuteranopia (green-blind)
#FFF295
Tritanopia (blue-blind)
#FEECDE
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f2f790; /* rgb */ color: rgb(242, 247, 144); /* oklch */ color: oklch(95.0% 0.126 111.0);
Tailwind
colors: {
custom: {
50: '#f8f9b2',
500: '#f2f790',
950: '#000000',
},
}SCSS
$custom: #f2f790; $custom-light: #f8f9b2; $custom-dark: #000000;
JSON
{
"hex": "#f2f790",
"rgb": {
"r": 242,
"g": 247,
"b": 144
},
"hsl": {
"h": 62.913,
"s": 86.555,
"l": 76.667
},
"oklch": {
"l": 0.95048,
"c": 0.12638,
"h": 111
},
"luminance": 0.87412
}Semantic roles & 50–950 ramp
primary
#F2F790
secondary
#5C56D5
accent
#02E30D
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581