#F2FFA7#F2FFA7
#F2FFA7 is a very light, moderate yellow. Relative luminance 0.932; OKLCH L 97.1% C 0.111 H 115.4°. Best body text is #000000 at 19.64:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FFA7 |
|---|---|
| RGB | rgb(242, 255, 167) |
| HSL | hsl(69, 100%, 83%) |
| HSV | hsv(69, 35%, 100%) |
| CMYK | cmyk(5.1%, 0%, 34.5%, 0%) |
| CIE-LAB | lab(97.30, -17.57, 40.68) |
| CIE-LCH | lch(97.30, 44.31, 113.36°) |
| OKLab | oklab(97.06% -0.0476 0.1005) |
| OKLCH | oklch(97.06% 0.111 115.4) |
| XYZ | xyz(79.3532, 93.1880, 50.3584) |
| Luminance | 0.9319 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.86
Creme
#FFFFB6
ΔE00 3.92
Parchment
#FEFCAF
ΔE00 3.95
Light Beige
#FFFEB6
ΔE00 4.20
Buff
#FEF69E
ΔE00 5.41
Cream (survey)
#FFFFC2
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FFA7 #B4A7FF
analogous
#FFE0A7 #F2FFA7 #C6FFA7
triadic
#F2FFA7 #A7F2FF #FFA7F2
tetradic
#F2FFA7 #A7FFE0 #B4A7FF #FFA7C6
square
#F2FFA7 #A7FFE0 #B4A7FF #FFA7C6
split-complementary
#F2FFA7 #A7C6FF #E0A7FF
monochromatic
#E0FF2D #E9FF6A #F2FFA7 #FAFFE0 #FAFFE0
Accessibility & contrast
On white
1.07
#F2FFA7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.64
#F2FFA7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FFA7
19.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FFA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FFA7 | 1.00 | 1.07 | 19.64 | 19.64 |
| #FFFFFF | 1.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF7A1
Deuteranopia (green-blind)
#FFF8AB
Tritanopia (blue-blind)
#FBF6E9
Achromatopsia (no color)
#F7F7F7
Design tokens & code
CSS
--color: #f2ffa7; /* rgb */ color: rgb(242, 255, 167); /* oklch */ color: oklch(97.1% 0.111 115.4);
Tailwind
colors: {
custom: {
50: '#f7ffc2',
500: '#f2ffa7',
950: '#000000',
},
}SCSS
$custom: #f2ffa7; $custom-light: #f7ffc2; $custom-dark: #000000;
JSON
{
"hex": "#f2ffa7",
"rgb": {
"r": 242,
"g": 255,
"b": 167
},
"hsl": {
"h": 68.864,
"s": 100,
"l": 82.745
},
"oklch": {
"l": 0.97057,
"c": 0.11116,
"h": 115.4
},
"luminance": 0.93187
}Semantic roles & 50–950 ramp
primary
#F2FFA7
secondary
#7966E4
accent
#00E622
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171812
muted
#858682