Moccasin#FFE4B5
#FFE4B5 is a very light, moderate orange. Relative luminance 0.801; OKLCH L 93.0% C 0.068 H 81.4°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE4B5 |
|---|---|
| RGB | rgb(255, 228, 181) |
| HSL | hsl(38, 100%, 85%) |
| HSV | hsv(38, 29%, 100%) |
| CMYK | cmyk(0%, 10.6%, 29%, 0%) |
| CIE-LAB | lab(91.72, 2.44, 26.36) |
| CIE-LCH | lch(91.72, 26.47, 84.71°) |
| OKLab | oklab(92.96% 0.0101 0.0668) |
| OKLCH | oklch(92.96% 0.068 81.4) |
| XYZ | xyz(77.3248, 80.0854, 55.0919) |
| Luminance | 0.8008 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Moccasin
#FFE4B5
ΔE00 0.00
Wheat
#F5DEB3
ΔE00 1.99
Navajowhite
#FFDEAD
ΔE00 2.13
Pale Peach
#FFE5AD
ΔE00 2.35
Bisque
#FFE4C4
ΔE00 4.54
Blanchedalmond
#FFEBCD
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE4B5 #B5D0FF
analogous
#FFBFB5 #FFE4B5 #F5FFB5
triadic
#FFE4B5 #B5FFE4 #E4B5FF
tetradic
#FFE4B5 #B5FFBF #B5D0FF #FFB5F5
square
#FFE4B5 #B5FFBF #B5D0FF #FFB5F5
split-complementary
#FFE4B5 #B5F5FF #BFB5FF
monochromatic
#FFB73B #FFCE78 #FFE4B5 #FFF4E0 #FFF4E0
Accessibility & contrast
On white
1.23
#FFE4B5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.02
#FFE4B5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE4B5
17.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE4B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE4B5 | 1.00 | 1.23 | 17.02 | 17.02 |
| #FFFFFF | 1.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0E3B2
Deuteranopia (green-blind)
#F7EAB6
Tritanopia (blue-blind)
#FFDBD7
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #ffe4b5; /* rgb */ color: rgb(255, 228, 181); /* oklch */ color: oklch(93.0% 0.068 81.4);
Tailwind
colors: {
custom: {
50: '#ffeccb',
500: '#ffe4b5',
950: '#000000',
},
}SCSS
$custom: #ffe4b5; $custom-light: #ffeccb; $custom-dark: #000000;
JSON
{
"hex": "#ffe4b5",
"rgb": {
"r": 255,
"g": 228,
"b": 181
},
"hsl": {
"h": 38.108,
"s": 100,
"l": 85.49
},
"oklch": {
"l": 0.92962,
"c": 0.06753,
"h": 81.4
},
"luminance": 0.80083
}Semantic roles & 50–950 ramp
primary
#FFE4B5
secondary
#729CE6
accent
#54E600
background
#FFFEFE
surface
#FFFDFA
border
#D7D5D3
text
#181613
muted
#868483