#F2FFAB#F2FFAB
#F2FFAB is a very light, moderate yellow. Relative luminance 0.933; OKLCH L 97.1% C 0.107 H 115.6°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FFAB |
|---|---|
| RGB | rgb(242, 255, 171) |
| HSL | hsl(69, 100%, 84%) |
| HSV | hsv(69, 33%, 100%) |
| CMYK | cmyk(5.1%, 0%, 32.9%, 0%) |
| CIE-LAB | lab(97.36, -17.09, 38.79) |
| CIE-LCH | lch(97.36, 42.39, 113.78°) |
| OKLab | oklab(97.13% -0.046 0.0962) |
| OKLCH | oklch(97.13% 0.107 115.6) |
| XYZ | xyz(79.7287, 93.3382, 52.3361) |
| Luminance | 0.9334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.68
Creme
#FFFFB6
ΔE00 3.61
Parchment
#FEFCAF
ΔE00 3.80
Light Beige
#FFFEB6
ΔE00 3.90
Cream (survey)
#FFFFC2
ΔE00 5.16
Buff
#FEF69E
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FFAB #B8ABFF
analogous
#FFE2AB #F2FFAB #C8FFAB
triadic
#F2FFAB #ABF2FF #FFABF2
tetradic
#F2FFAB #ABFFE2 #B8ABFF #FFABC8
square
#F2FFAB #ABFFE2 #B8ABFF #FFABC8
split-complementary
#F2FFAB #ABC8FF #E2ABFF
monochromatic
#DFFF31 #E9FF6E #F2FFAB #FAFFE0 #FAFFE0
Accessibility & contrast
On white
1.07
#F2FFAB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.67
#F2FFAB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FFAB
19.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FFAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FFAB | 1.00 | 1.07 | 19.67 | 19.67 |
| #FFFFFF | 1.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF7A5
Deuteranopia (green-blind)
#FFF8AF
Tritanopia (blue-blind)
#FBF6EA
Achromatopsia (no color)
#F7F7F7
Design tokens & code
CSS
--color: #f2ffab; /* rgb */ color: rgb(242, 255, 171); /* oklch */ color: oklch(97.1% 0.107 115.6);
Tailwind
colors: {
custom: {
50: '#f7ffc4',
500: '#f2ffab',
950: '#000000',
},
}SCSS
$custom: #f2ffab; $custom-light: #f7ffc4; $custom-dark: #000000;
JSON
{
"hex": "#f2ffab",
"rgb": {
"r": 242,
"g": 255,
"b": 171
},
"hsl": {
"h": 69.286,
"s": 100,
"l": 83.529
},
"oklch": {
"l": 0.97125,
"c": 0.10662,
"h": 115.6
},
"luminance": 0.93338
}Semantic roles & 50–950 ramp
primary
#F2FFAB
secondary
#7D6AE5
accent
#00E624
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682