#E8D362#E8D362

#E8D362 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.2% C 0.135 H 98.9°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#E8D362
RGBrgb(232, 211, 98)
HSLhsl(51, 74%, 65%)
HSVhsv(51, 58%, 91%)
CMYKcmyk(0%, 9.1%, 57.8%, 9%)
CIE-LABlab(84.29, -6.30, 57.49)
CIE-LCHlch(84.29, 57.83, 96.26°)
OKLaboklab(86.24% -0.0209 0.1332)
OKLCHoklch(86.24% 0.135 98.9)
XYZxyz(58.7798, 64.6286, 20.9313)
Luminance0.6463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D362 #6277E8
analogous
#E89062 #E8D362 #BAE862
triadic
#E8D362 #62E8D3 #D362E8
tetradic
#E8D362 #62E890 #6277E8 #E862BA
square
#E8D362 #62E890 #6277E8 #E862BA
split-complementary
#E8D362 #62BAE8 #9062E8
monochromatic
#B59D1B #E0C42D #E8D362 #F0E297 #F8F1CD

Accessibility & contrast

On white

1.51
#E8D362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#E8D362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D362
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D362#FFFFFF#000000##000000
##E8D3621.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#F8C5BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e8d362;
/* rgb */ color: rgb(232, 211, 98);
/* oklch */ color: oklch(86.2% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#f2e092',
    500: '#e8d362',
    950: '#000000',
  },
}
SCSS
$custom: #e8d362;
$custom-light: #f2e092;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d362",
  "rgb": {
    "r": 232,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 50.597,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86244,
    "c": 0.13486,
    "h": 98.9
  },
  "luminance": 0.64626
}

Semantic roles & 50–950 ramp

primary
#E8D362
secondary
#394CB5
accent
#2ED70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D362

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

Preview Lab → · Contrast checker → · Palette generator →

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