#FFE8A1#FFE8A1

#FFE8A1 is a very light, moderate yellow. Relative luminance 0.815; OKLCH L 93.4% C 0.093 H 92.2°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#FFE8A1
RGBrgb(255, 232, 161)
HSLhsl(45, 100%, 82%)
HSVhsv(45, 37%, 100%)
CMYKcmyk(0%, 9%, 36.9%, 0%)
CIE-LABlab(92.38, -1.97, 37.42)
CIE-LCHlch(92.38, 37.47, 93.02°)
OKLaboklab(93.37% -0.0036 0.0926)
OKLCHoklch(93.37% 0.093 92.2)
XYZxyz(76.5311, 81.5490, 45.4205)
Luminance0.8155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE8A1 #A1B8FF
analogous
#FFB9A1 #FFE8A1 #E7FFA1
triadic
#FFE8A1 #A1FFE8 #E8A1FF
tetradic
#FFE8A1 #A1FFB9 #A1B8FF #FFA1E7
square
#FFE8A1 #A1FFB9 #A1B8FF #FFA1E7
split-complementary
#FFE8A1 #A1E7FF #B9A1FF
monochromatic
#FFCA27 #FFD964 #FFE8A1 #FFF7DE #FFF8E0

Accessibility & contrast

On white

1.21
#FFE8A1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#FFE8A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE8A1
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE8A1#FFFFFF#000000##000000
##FFE8A11.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E59C
Deuteranopia (green-blind)
#FDECA3
Tritanopia (blue-blind)
#FFDDD6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffe8a1;
/* rgb */ color: rgb(255, 232, 161);
/* oklch */ color: oklch(93.4% 0.093 92.2);
Tailwind
colors: {
  custom: {
    50: '#ffefbd',
    500: '#ffe8a1',
    950: '#000000',
  },
}
SCSS
$custom: #ffe8a1;
$custom-light: #ffefbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe8a1",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 161
  },
  "hsl": {
    "h": 45.319,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.93365,
    "c": 0.09265,
    "h": 92.2
  },
  "luminance": 0.81546
}

Semantic roles & 50–950 ramp

primary
#FFE8A1
secondary
#6181E3
accent
#38E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FFE8A1

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

Preview Lab → · Contrast checker → · Palette generator →

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