#E0DC3F#E0DC3F

#E0DC3F is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.1% C 0.169 H 108.0°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#E0DC3F
RGBrgb(224, 220, 63)
HSLhsl(59, 72%, 56%)
HSVhsv(59, 72%, 88%)
CMYKcmyk(0%, 1.8%, 71.9%, 12.2%)
CIE-LABlab(85.70, -16.15, 72.76)
CIE-LCHlch(85.70, 74.53, 102.52°)
OKLaboklab(87.12% -0.052 0.1606)
OKLCHoklch(87.12% 0.169 108)
XYZxyz(57.2331, 67.3945, 14.6953)
Luminance0.6739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0DC3F #3F43E0
analogous
#E08C3F #E0DC3F #94E03F
triadic
#E0DC3F #3FE0DC #DC3FE0
tetradic
#E0DC3F #3FE08C #3F43E0 #E03F94
square
#E0DC3F #3FE08C #3F43E0 #E03F94
split-complementary
#E0DC3F #3F94E0 #8C3FE0
monochromatic
#8E8B17 #C2BE1F #E0DC3F #E9E674 #F1EFA8

Accessibility & contrast

On white

1.45
#E0DC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#E0DC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0DC3F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0DC3F#FFFFFF#000000##000000
##E0DC3F1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED321
Deuteranopia (green-blind)
#F1D94B
Tritanopia (blue-blind)
#F0CEBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e0dc3f;
/* rgb */ color: rgb(224, 220, 63);
/* oklch */ color: oklch(87.1% 0.169 108.0);
Tailwind
colors: {
  custom: {
    50: '#eee67f',
    500: '#e0dc3f',
    950: '#000000',
  },
}
SCSS
$custom: #e0dc3f;
$custom-light: #eee67f;
$custom-dark: #000000;
JSON
{
  "hex": "#e0dc3f",
  "rgb": {
    "r": 224,
    "g": 220,
    "b": 63
  },
  "hsl": {
    "h": 58.509,
    "s": 72.197,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8712,
    "c": 0.16878,
    "h": 108
  },
  "luminance": 0.67393
}

Semantic roles & 50–950 ramp

primary
#E0DC3F
secondary
#303393
accent
#3DEF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E0DC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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