#FFE8A2#FFE8A2

#FFE8A2 is a very light, moderate yellow. Relative luminance 0.816; OKLCH L 93.4% C 0.092 H 92.0°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#FFE8A2
RGBrgb(255, 232, 162)
HSLhsl(45, 100%, 82%)
HSVhsv(45, 36%, 100%)
CMYKcmyk(0%, 9%, 36.5%, 0%)
CIE-LABlab(92.39, -1.86, 36.93)
CIE-LCHlch(92.39, 36.98, 92.89°)
OKLaboklab(93.38% -0.0032 0.0915)
OKLCHoklch(93.38% 0.092 92)
XYZxyz(76.6197, 81.5844, 45.8867)
Luminance0.8158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE8A2 #A2B9FF
analogous
#FFBAA2 #FFE8A2 #E8FFA2
triadic
#FFE8A2 #A2FFE8 #E8A2FF
tetradic
#FFE8A2 #A2FFBA #A2B9FF #FFA2E8
square
#FFE8A2 #A2FFBA #A2B9FF #FFA2E8
split-complementary
#FFE8A2 #A2E8FF #BAA2FF
monochromatic
#FFCA28 #FFD965 #FFE8A2 #FFF7DF #FFF7E0

Accessibility & contrast

On white

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

On black

17.32
#FFE8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE8A2
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE8A2#FFFFFF#000000##000000
##FFE8A21.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe8a2;
/* rgb */ color: rgb(255, 232, 162);
/* oklch */ color: oklch(93.4% 0.092 92.0);
Tailwind
colors: {
  custom: {
    50: '#ffefbe',
    500: '#ffe8a2',
    950: '#000000',
  },
}
SCSS
$custom: #ffe8a2;
$custom-light: #ffefbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe8a2",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 162
  },
  "hsl": {
    "h": 45.161,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.93382,
    "c": 0.09154,
    "h": 92
  },
  "luminance": 0.81582
}

Semantic roles & 50–950 ramp

primary
#FFE8A2
secondary
#6282E3
accent
#39E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FFE8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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