#F2FFB4#F2FFB4
#F2FFB4 is a very light, moderate yellow-green. Relative luminance 0.937; OKLCH L 97.3% C 0.096 H 116.2°. Best body text is #000000 at 19.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FFB4 |
|---|---|
| RGB | rgb(242, 255, 180) |
| HSL | hsl(70, 100%, 85%) |
| HSV | hsv(70, 29%, 100%) |
| CMYK | cmyk(5.1%, 0%, 29.4%, 0%) |
| CIE-LAB | lab(97.51, -15.97, 34.51) |
| CIE-LCH | lch(97.51, 38.02, 114.83°) |
| OKLab | oklab(97.29% -0.0425 0.0863) |
| OKLCH | oklch(97.29% 0.096 116.2) |
| XYZ | xyz(80.6159, 93.6931, 57.0088) |
| Luminance | 0.9369 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.92
Creme
#FFFFB6
ΔE00 3.34
Light Beige
#FFFEB6
ΔE00 3.59
Parchment
#FEFCAF
ΔE00 3.92
Cream (survey)
#FFFFC2
ΔE00 4.14
Ecru
#FEFFCA
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FFB4 #C1B4FF
analogous
#FFE6B4 #F2FFB4 #CCFFB4
triadic
#F2FFB4 #B4F2FF #FFB4F2
tetradic
#F2FFB4 #B4FFE6 #C1B4FF #FFB4CC
square
#F2FFB4 #B4FFE6 #C1B4FF #FFB4CC
split-complementary
#F2FFB4 #B4CCFF #E6B4FF
monochromatic
#DDFF3A #E7FF77 #F2FFB4 #FAFFE0 #FAFFE0
Accessibility & contrast
On white
1.06
#F2FFB4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.74
#F2FFB4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FFB4
19.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FFB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FFB4 | 1.00 | 1.06 | 19.74 | 19.74 |
| #FFFFFF | 1.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF7AF
Deuteranopia (green-blind)
#FFF8B7
Tritanopia (blue-blind)
#FAF7EB
Achromatopsia (no color)
#F8F8F8
Design tokens & code
CSS
--color: #f2ffb4; /* rgb */ color: rgb(242, 255, 180); /* oklch */ color: oklch(97.3% 0.096 116.2);
Tailwind
colors: {
custom: {
50: '#f7ffcb',
500: '#f2ffb4',
950: '#000000',
},
}SCSS
$custom: #f2ffb4; $custom-light: #f7ffcb; $custom-dark: #000000;
JSON
{
"hex": "#f2ffb4",
"rgb": {
"r": 242,
"g": 255,
"b": 180
},
"hsl": {
"h": 70.4,
"s": 100,
"l": 85.294
},
"oklch": {
"l": 0.97286,
"c": 0.09621,
"h": 116.2
},
"luminance": 0.93693
}Semantic roles & 50–950 ramp
primary
#F2FFB4
secondary
#8571E6
accent
#00E628
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#171813
muted
#858683