#F2FFB8#F2FFB8
#F2FFB8 is a very light, moderate yellow-green. Relative luminance 0.939; OKLCH L 97.4% C 0.091 H 116.6°. Best body text is #000000 at 19.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FFB8 |
|---|---|
| RGB | rgb(242, 255, 184) |
| HSL | hsl(71, 100%, 86%) |
| HSV | hsv(71, 28%, 100%) |
| CMYK | cmyk(5.1%, 0%, 27.8%, 0%) |
| CIE-LAB | lab(97.57, -15.45, 32.60) |
| CIE-LCH | lch(97.57, 36.07, 115.35°) |
| OKLab | oklab(97.36% -0.0409 0.0818) |
| OKLCH | oklch(97.36% 0.092 116.6) |
| XYZ | xyz(81.0293, 93.8584, 59.1859) |
| Luminance | 0.9386 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.32
Creme
#FFFFB6
ΔE00 3.46
Light Beige
#FFFEB6
ΔE00 3.68
Cream (survey)
#FFFFC2
ΔE00 3.80
Parchment
#FEFCAF
ΔE00 4.18
Ecru
#FEFFCA
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FFB8 #C5B8FF
analogous
#FFE8B8 #F2FFB8 #CEFFB8
triadic
#F2FFB8 #B8F2FF #FFB8F2
tetradic
#F2FFB8 #B8FFE8 #C5B8FF #FFB8CE
square
#F2FFB8 #B8FFE8 #C5B8FF #FFB8CE
split-complementary
#F2FFB8 #B8CEFF #E8B8FF
monochromatic
#DCFF3E #E7FF7B #F2FFB8 #F9FFE0 #F9FFE0
Accessibility & contrast
On white
1.06
#F2FFB8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.77
#F2FFB8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FFB8
19.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FFB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FFB8 | 1.00 | 1.06 | 19.77 | 19.77 |
| #FFFFFF | 1.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF8B3
Deuteranopia (green-blind)
#FFF9BB
Tritanopia (blue-blind)
#FAF7EC
Achromatopsia (no color)
#F8F8F8
Design tokens & code
CSS
--color: #f2ffb8; /* rgb */ color: rgb(242, 255, 184); /* oklch */ color: oklch(97.4% 0.091 116.6);
Tailwind
colors: {
custom: {
50: '#f7ffcd',
500: '#f2ffb8',
950: '#000000',
},
}SCSS
$custom: #f2ffb8; $custom-light: #f7ffcd; $custom-dark: #000000;
JSON
{
"hex": "#f2ffb8",
"rgb": {
"r": 242,
"g": 255,
"b": 184
},
"hsl": {
"h": 70.986,
"s": 100,
"l": 86.078
},
"oklch": {
"l": 0.97361,
"c": 0.0915,
"h": 116.6
},
"luminance": 0.93858
}Semantic roles & 50–950 ramp
primary
#F2FFB8
secondary
#8975E7
accent
#00E62A
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171813
muted
#858683