#E8D281#E8D281

#E8D281 is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.4% C 0.104 H 94.7°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#E8D281
RGBrgb(232, 210, 129)
HSLhsl(47, 69%, 71%)
HSVhsv(47, 44%, 91%)
CMYKcmyk(0%, 9.5%, 44.4%, 9%)
CIE-LABlab(84.40, -3.15, 42.81)
CIE-LCHlch(84.40, 42.93, 94.21°)
OKLaboklab(86.45% -0.0085 0.1037)
OKLCHoklch(86.45% 0.104 94.7)
XYZxyz(60.2894, 64.8362, 30.1035)
Luminance0.6483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D281 #8197E8
analogous
#E89E81 #E8D281 #CBE881
triadic
#E8D281 #81E8D2 #D281E8
tetradic
#E8D281 #81E89E #8197E8 #E881CB
square
#E8D281 #81E89E #8197E8 #E881CB
split-complementary
#E8D281 #81CBE8 #9E81E8
monochromatic
#CAA725 #DFC04D #E8D281 #F1E4B5 #FAF6E5

Accessibility & contrast

On white

1.50
#E8D281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#E8D281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D281
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D281#FFFFFF#000000##000000
##E8D2811.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CF7B
Deuteranopia (green-blind)
#E7D684
Tritanopia (blue-blind)
#F6C7BE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d281;
/* rgb */ color: rgb(232, 210, 129);
/* oklch */ color: oklch(86.4% 0.104 94.7);
Tailwind
colors: {
  custom: {
    50: '#f1dfa7',
    500: '#e8d281',
    950: '#000000',
  },
}
SCSS
$custom: #e8d281;
$custom-light: #f1dfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d281",
  "rgb": {
    "r": 232,
    "g": 210,
    "b": 129
  },
  "hsl": {
    "h": 47.184,
    "s": 69.128,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86447,
    "c": 0.10404,
    "h": 94.7
  },
  "luminance": 0.64834
}

Semantic roles & 50–950 ramp

primary
#E8D281
secondary
#4C65C1
accent
#3DD114
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D281

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

Preview Lab → · Contrast checker → · Palette generator →

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