#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
RGBrgb(255, 235, 161)
HSLhsl(47, 100%, 82%)
HSVhsv(47, 37%, 100%)
CMYKcmyk(0%, 7.8%, 36.9%, 0%)
CIE-LABlab(93.12, -3.49, 38.40)
CIE-LCHlch(93.12, 38.56, 95.19°)
OKLaboklab(93.96% -0.008 0.0949)
OKLCHoklch(93.96% 0.095 94.8)
XYZxyz(77.3828, 83.2523, 45.7044)
Luminance0.8325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##FFEBA11.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.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

Preview Lab

Preview with #FFEBA1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FFEBA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva