#E0D940#E0D940

#E0D940 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.5% C 0.165 H 106.7°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#E0D940
RGBrgb(224, 217, 64)
HSLhsl(57, 72%, 56%)
HSVhsv(57, 71%, 88%)
CMYKcmyk(0%, 3.1%, 71.4%, 12.2%)
CIE-LABlab(84.92, -14.63, 71.67)
CIE-LCHlch(84.92, 73.14, 101.53°)
OKLaboklab(86.5% -0.0477 0.1584)
OKLCHoklch(86.5% 0.165 106.7)
XYZxyz(56.4810, 65.8452, 14.5837)
Luminance0.6584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D940 #4047E0
analogous
#E08940 #E0D940 #97E040
triadic
#E0D940 #40E0D9 #D940E0
tetradic
#E0D940 #40E089 #4047E0 #E04097
square
#E0D940 #40E089 #4047E0 #E04097
split-complementary
#E0D940 #4097E0 #8940E0
monochromatic
#8E8917 #C3BC20 #E0D940 #E9E375 #F1EEA9

Accessibility & contrast

On white

1.48
#E0D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#E0D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D940
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D940#FFFFFF#000000##000000
##E0D9401.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD124
Deuteranopia (green-blind)
#EFD74B
Tritanopia (blue-blind)
#F0CBBB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e0d940;
/* rgb */ color: rgb(224, 217, 64);
/* oklch */ color: oklch(86.5% 0.165 106.7);
Tailwind
colors: {
  custom: {
    50: '#eee47f',
    500: '#e0d940',
    950: '#000000',
  },
}
SCSS
$custom: #e0d940;
$custom-light: #eee47f;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d940",
  "rgb": {
    "r": 224,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 57.375,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.86496,
    "c": 0.16543,
    "h": 106.7
  },
  "luminance": 0.65843
}

Semantic roles & 50–950 ramp

primary
#E0D940
secondary
#313594
accent
#41EF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E0D940

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

Preview Lab → · Contrast checker → · Palette generator →

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