#E8D35F#E8D35F

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

Color values

HEX#E8D35F
RGBrgb(232, 211, 95)
HSLhsl(51, 75%, 64%)
HSVhsv(51, 59%, 91%)
CMYKcmyk(0%, 9.1%, 59.1%, 9%)
CIE-LABlab(84.26, -6.51, 58.80)
CIE-LCHlch(84.26, 59.16, 96.32°)
OKLaboklab(86.21% -0.0218 0.1357)
OKLCHoklch(86.21% 0.137 99.1)
XYZxyz(58.6408, 64.5730, 20.1992)
Luminance0.6457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D35F #5F74E8
analogous
#E88F5F #E8D35F #B9E85F
triadic
#E8D35F #5FE8D3 #D35FE8
tetradic
#E8D35F #5FE88F #5F74E8 #E85FB9
square
#E8D35F #5FE88F #5F74E8 #E85FB9
split-complementary
#E8D35F #5FB9E8 #8F5FE8
monochromatic
#B39B1A #E0C429 #E8D35F #F0E295 #F7F0CA

Accessibility & contrast

On white

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

On black

13.91
#E8D35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D35F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D35F#FFFFFF#000000##000000
##E8D35F1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d35f;
/* rgb */ color: rgb(232, 211, 95);
/* oklch */ color: oklch(86.2% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#f2e090',
    500: '#e8d35f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d35f;
$custom-light: #f2e090;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d35f",
  "rgb": {
    "r": 232,
    "g": 211,
    "b": 95
  },
  "hsl": {
    "h": 50.803,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86212,
    "c": 0.13742,
    "h": 99.1
  },
  "luminance": 0.64571
}

Semantic roles & 50–950 ramp

primary
#E8D35F
secondary
#384BB3
accent
#2DD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D35F

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

Preview Lab → · Contrast checker → · Palette generator →

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