#E5D262#E5D262

#E5D262 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.134 H 99.8°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#E5D262
RGBrgb(229, 210, 98)
HSLhsl(51, 72%, 64%)
HSVhsv(51, 57%, 90%)
CMYKcmyk(0%, 8.3%, 57.2%, 10.2%)
CIE-LABlab(83.78, -7.03, 56.83)
CIE-LCHlch(83.78, 57.27, 97.05°)
OKLaboklab(85.77% -0.0228 0.1319)
OKLCHoklch(85.77% 0.134 99.8)
XYZxyz(57.5664, 63.6354, 20.8035)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D262 #6275E5
analogous
#E59162 #E5D262 #B7E562
triadic
#E5D262 #62E5D2 #D262E5
tetradic
#E5D262 #62E591 #6275E5 #E562B7
square
#E5D262 #62E591 #6275E5 #E562B7
split-complementary
#E5D262 #62B7E5 #9162E5
monochromatic
#B09A1D #DCC32D #E5D262 #EEE197 #F6F0CB

Accessibility & contrast

On white

1.53
#E5D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#E5D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D262
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D262#FFFFFF#000000##000000
##E5D2621.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#E9D467
Tritanopia (blue-blind)
#F5C5B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e5d262;
/* rgb */ color: rgb(229, 210, 98);
/* oklch */ color: oklch(85.8% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#f0df92',
    500: '#e5d262',
    950: '#000000',
  },
}
SCSS
$custom: #e5d262;
$custom-light: #f0df92;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d262",
  "rgb": {
    "r": 229,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 51.298,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85773,
    "c": 0.13385,
    "h": 99.8
  },
  "luminance": 0.63633
}

Semantic roles & 50–950 ramp

primary
#E5D262
secondary
#3B4CB1
accent
#2ED412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D262

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

Preview Lab → · Contrast checker → · Palette generator →

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