#FFEBA1#FFEBA1
#FFEBA1 is a very light, moderate yellow. Relative luminance 0.833; OKLCH L 94.0% C 0.095 H 94.8°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).
Color values
| HEX | #FFEBA1 |
|---|---|
| RGB | rgb(255, 235, 161) |
| HSL | hsl(47, 100%, 82%) |
| HSV | hsv(47, 37%, 100%) |
| CMYK | cmyk(0%, 7.8%, 36.9%, 0%) |
| CIE-LAB | lab(93.12, -3.49, 38.40) |
| CIE-LCH | lch(93.12, 38.56, 95.19°) |
| OKLab | oklab(93.96% -0.008 0.0949) |
| OKLCH | oklch(93.96% 0.095 94.8) |
| XYZ | xyz(77.3828, 83.2523, 45.7044) |
| Luminance | 0.8325 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Tan
#FBEEAC
ΔE00 2.46
Vanilla
#F3E5AB
ΔE00 3.66
Dark Cream
#FFF39A
ΔE00 3.73
Khaki (CSS)
#F0E68C
ΔE00 4.39
Pale Peach
#FFE5AD
ΔE00 4.54
Buff
#FEF69E
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFEBA1 #A1B5FF
analogous
#FFBCA1 #FFEBA1 #E4FFA1
triadic
#FFEBA1 #A1FFEB #EBA1FF
tetradic
#FFEBA1 #A1FFBC #A1B5FF #FFA1E4
square
#FFEBA1 #A1FFBC #A1B5FF #FFA1E4
split-complementary
#FFEBA1 #A1E4FF #BCA1FF
monochromatic
#FFD127 #FFDE64 #FFEBA1 #FFF8DE #FFF8E0
Accessibility & contrast
On white
1.19
#FFEBA1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.65
#FFEBA1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFEBA1
17.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFEBA1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFEBA1 | 1.00 | 1.19 | 17.65 | 17.65 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE89C
Deuteranopia (green-blind)
#FFEEA4
Tritanopia (blue-blind)
#FFE0D8
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #ffeba1; /* rgb */ color: rgb(255, 235, 161); /* oklch */ color: oklch(94.0% 0.095 94.8);
Tailwind
colors: {
custom: {
50: '#fff1bd',
500: '#ffeba1',
950: '#000000',
},
}SCSS
$custom: #ffeba1; $custom-light: #fff1bd; $custom-dark: #000000;
JSON
{
"hex": "#ffeba1",
"rgb": {
"r": 255,
"g": 235,
"b": 161
},
"hsl": {
"h": 47.234,
"s": 100,
"l": 81.569
},
"oklch": {
"l": 0.93956,
"c": 0.09519,
"h": 94.8
},
"luminance": 0.8325
}Semantic roles & 50–950 ramp
primary
#FFEBA1
secondary
#617DE3
accent
#31E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582