#FFFFB5#FFFFB5
#FFFFB5 is a very light, moderate yellow. Relative luminance 0.961; OKLCH L 98.3% C 0.093 H 108.0°. Best body text is #000000 at 20.22:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFFB5 |
|---|---|
| RGB | rgb(255, 255, 181) |
| HSL | hsl(60, 100%, 85%) |
| HSV | hsv(60, 29%, 100%) |
| CMYK | cmyk(0%, 0%, 29%, 0%) |
| CIE-LAB | lab(98.48, -11.08, 35.47) |
| CIE-LCH | lch(98.48, 37.16, 107.34°) |
| OKLab | oklab(98.3% -0.0288 0.0886) |
| OKLCH | oklch(98.3% 0.093 108) |
| XYZ | xyz(85.3409, 96.1176, 57.7640) |
| Luminance | 0.9612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Creme
#FFFFB6
ΔE00 0.19
Light Beige
#FFFEB6
ΔE00 0.46
Parchment
#FEFCAF
ΔE00 0.99
Cream (survey)
#FFFFC2
ΔE00 2.56
Egg Shell
#FFFCC4
ΔE00 3.66
Buff
#FEF69E
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFFB5 #B5B5FF
analogous
#FFDAB5 #FFFFB5 #DAFFB5
triadic
#FFFFB5 #B5FFFF #FFB5FF
tetradic
#FFFFB5 #B5FFDA #B5B5FF #FFB5DA
square
#FFFFB5 #B5FFDA #B5B5FF #FFB5DA
split-complementary
#FFFFB5 #B5DAFF #DAB5FF
monochromatic
#FFFF3B #FFFF78 #FFFFB5 #FFFFE0 #FFFFE0
Accessibility & contrast
On white
1.04
#FFFFB5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
20.22
#FFFFB5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFFB5
20.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFFB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFFB5 | 1.00 | 1.04 | 20.22 | 20.22 |
| #FFFFFF | 1.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 20.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 20.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF9B0
Deuteranopia (green-blind)
#FFFCB8
Tritanopia (blue-blind)
#FFF6EC
Achromatopsia (no color)
#FBFBFB
Design tokens & code
CSS
--color: #ffffb5; /* rgb */ color: rgb(255, 255, 181); /* oklch */ color: oklch(98.3% 0.093 108.0);
Tailwind
colors: {
custom: {
50: '#ffffcb',
500: '#ffffb5',
950: '#000000',
},
}SCSS
$custom: #ffffb5; $custom-light: #ffffcb; $custom-dark: #000000;
JSON
{
"hex": "#ffffb5",
"rgb": {
"r": 255,
"g": 255,
"b": 181
},
"hsl": {
"h": 60,
"s": 100,
"l": 85.49
},
"oklch": {
"l": 0.98298,
"c": 0.09314,
"h": 108
},
"luminance": 0.96116
}Semantic roles & 50–950 ramp
primary
#FFFFB5
secondary
#7272E6
accent
#00E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181813
muted
#868683