#F5FFB2#F5FFB2
#F5FFB2 is a very light, moderate yellow. Relative luminance 0.941; OKLCH L 97.5% C 0.098 H 114.3°. Best body text is #000000 at 19.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F5FFB2 |
|---|---|
| RGB | rgb(245, 255, 178) |
| HSL | hsl(68, 100%, 85%) |
| HSV | hsv(68, 30%, 100%) |
| CMYK | cmyk(3.9%, 0%, 30.2%, 0%) |
| CIE-LAB | lab(97.69, -15.12, 35.79) |
| CIE-LCH | lch(97.69, 38.85, 112.91°) |
| OKLab | oklab(97.48% -0.0402 0.0893) |
| OKLCH | oklch(97.48% 0.098 114.3) |
| XYZ | xyz(81.4520, 94.1476, 55.9922) |
| Luminance | 0.9415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Creme
#FFFFB6
ΔE00 2.62
Light Beige
#FFFEB6
ΔE00 2.89
Light Khaki
#E6F2A2
ΔE00 2.90
Parchment
#FEFCAF
ΔE00 3.10
Cream (survey)
#FFFFC2
ΔE00 3.87
Egg Shell
#FFFCC4
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5FFB2 #BCB2FF
analogous
#FFE2B2 #F5FFB2 #CFFFB2
triadic
#F5FFB2 #B2F5FF #FFB2F5
tetradic
#F5FFB2 #B2FFE2 #BCB2FF #FFB2CF
square
#F5FFB2 #B2FFE2 #BCB2FF #FFB2CF
split-complementary
#F5FFB2 #B2CFFF #E2B2FF
monochromatic
#E5FF38 #EDFF75 #F5FFB2 #FBFFE0 #FBFFE0
Accessibility & contrast
On white
1.06
#F5FFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.83
#F5FFB2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5FFB2
19.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5FFB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5FFB2 | 1.00 | 1.06 | 19.83 | 19.83 |
| #FFFFFF | 1.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF8AD
Deuteranopia (green-blind)
#FFF9B5
Tritanopia (blue-blind)
#FEF6EB
Achromatopsia (no color)
#F8F8F8
Design tokens & code
CSS
--color: #f5ffb2; /* rgb */ color: rgb(245, 255, 178); /* oklch */ color: oklch(97.5% 0.098 114.3);
Tailwind
colors: {
custom: {
50: '#f9ffc9',
500: '#f5ffb2',
950: '#000000',
},
}SCSS
$custom: #f5ffb2; $custom-light: #f9ffc9; $custom-dark: #000000;
JSON
{
"hex": "#f5ffb2",
"rgb": {
"r": 245,
"g": 255,
"b": 178
},
"hsl": {
"h": 67.792,
"s": 100,
"l": 84.902
},
"oklch": {
"l": 0.97475,
"c": 0.09794,
"h": 114.3
},
"luminance": 0.94147
}Semantic roles & 50–950 ramp
primary
#F5FFB2
secondary
#7F70E6
accent
#00E61E
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682