#E3DC5C#E3DC5C

#E3DC5C is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.6% C 0.148 H 106.1°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#E3DC5C
RGBrgb(227, 220, 92)
HSLhsl(57, 71%, 63%)
HSVhsv(57, 59%, 89%)
CMYKcmyk(0%, 3.1%, 59.5%, 11%)
CIE-LABlab(86.15, -13.29, 62.08)
CIE-LCHlch(86.15, 63.49, 102.09°)
OKLaboklab(87.6% -0.0412 0.1424)
OKLCHoklch(87.6% 0.148 106.1)
XYZxyz(59.2055, 68.2919, 20.1861)
Luminance0.6829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3DC5C #5C63E3
analogous
#E3995C #E3DC5C #A6E35C
triadic
#E3DC5C #5CE3DC #DC5CE3
tetradic
#E3DC5C #5CE399 #5C63E3 #E35CA6
square
#E3DC5C #5CE399 #5C63E3 #E35CA6
split-complementary
#E3DC5C #5CA6E3 #995CE3
monochromatic
#A8A11D #DAD128 #E3DC5C #ECE790 #F5F2C4

Accessibility & contrast

On white

1.43
#E3DC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#E3DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3DC5C
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3DC5C#FFFFFF#000000##000000
##E3DC5C1.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44D
Deuteranopia (green-blind)
#F0DA63
Tritanopia (blue-blind)
#F2CFC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e3dc5c;
/* rgb */ color: rgb(227, 220, 92);
/* oklch */ color: oklch(87.6% 0.148 106.1);
Tailwind
colors: {
  custom: {
    50: '#efe68f',
    500: '#e3dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e3dc5c;
$custom-light: #efe68f;
$custom-dark: #000000;
JSON
{
  "hex": "#e3dc5c",
  "rgb": {
    "r": 227,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 56.889,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87604,
    "c": 0.14824,
    "h": 106.1
  },
  "luminance": 0.6829
}

Semantic roles & 50–950 ramp

primary
#E3DC5C
secondary
#393FAA
accent
#1DD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E3DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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