#F2F792#F2F792
#F2F792 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.1% C 0.124 H 111.0°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F792 |
|---|---|
| RGB | rgb(242, 247, 146) |
| HSL | hsl(63, 86%, 77%) |
| HSV | hsv(63, 41%, 97%) |
| CMYK | cmyk(2%, 0%, 40.9%, 3.1%) |
| CIE-LAB | lab(94.94, -16.01, 47.89) |
| CIE-LCH | lch(94.94, 50.50, 108.48°) |
| OKLab | oklab(95.08% -0.0445 0.116) |
| OKLCH | oklch(95.08% 0.124 111) |
| XYZ | xyz(75.0680, 87.4754, 40.1185) |
| Luminance | 0.8747 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.50
Manilla
#FFFA86
ΔE00 3.51
Buff
#FEF69E
ΔE00 3.70
Pale Yellow
#FFFF84
ΔE00 3.71
Butter
#FFFF81
ΔE00 4.01
Faded Yellow
#FEFF7F
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F792 #9792F7
analogous
#F7C992 #F2F792 #C0F792
triadic
#F2F792 #92F2F7 #F792F2
tetradic
#F2F792 #92F7C9 #9792F7 #F792C0
square
#F2F792 #92F7C9 #9792F7 #F792C0
split-complementary
#F2F792 #92C0F7 #C992F7
monochromatic
#E4EF20 #EBF359 #F2F792 #F9FBCB #FCFDE2
Accessibility & contrast
On white
1.14
#F2F792 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.49
#F2F792 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F792
18.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F792 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F792 | 1.00 | 1.14 | 18.49 | 18.49 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF8A
Deuteranopia (green-blind)
#FFF297
Tritanopia (blue-blind)
#FEECDF
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f2f792; /* rgb */ color: rgb(242, 247, 146); /* oklch */ color: oklch(95.1% 0.124 111.0);
Tailwind
colors: {
custom: {
50: '#f8f9b3',
500: '#f2f792',
950: '#000000',
},
}SCSS
$custom: #f2f792; $custom-light: #f8f9b3; $custom-dark: #000000;
JSON
{
"hex": "#f2f792",
"rgb": {
"r": 242,
"g": 247,
"b": 146
},
"hsl": {
"h": 62.97,
"s": 86.325,
"l": 77.059
},
"oklch": {
"l": 0.95077,
"c": 0.12427,
"h": 111
},
"luminance": 0.87474
}Semantic roles & 50–950 ramp
primary
#F2F792
secondary
#5E58D6
accent
#03E30E
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581