#E3DF40#E3DF40

#E3DF40 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.0% C 0.171 H 108.0°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#E3DF40
RGBrgb(227, 223, 64)
HSLhsl(59, 74%, 57%)
HSVhsv(59, 72%, 89%)
CMYKcmyk(0%, 1.8%, 71.8%, 11%)
CIE-LABlab(86.74, -16.34, 73.50)
CIE-LCHlch(86.74, 75.29, 102.53°)
OKLaboklab(88.01% -0.0526 0.1622)
OKLCHoklch(88.01% 0.171 108)
XYZxyz(58.9939, 69.4784, 15.1526)
Luminance0.6948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3DF40 #4044E3
analogous
#E38E40 #E3DF40 #95E340
triadic
#E3DF40 #40E3DF #DF40E3
tetradic
#E3DF40 #40E38E #4044E3 #E34095
square
#E3DF40 #40E38E #4044E3 #E34095
split-complementary
#E3DF40 #4095E3 #8E40E3
monochromatic
#939016 #C8C41D #E3DF40 #EBE875 #F3F1AB

Accessibility & contrast

On white

1.41
#E3DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#E3DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3DF40
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3DF40#FFFFFF#000000##000000
##E3DF401.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D621
Deuteranopia (green-blind)
#F4DC4C
Tritanopia (blue-blind)
#F3D1C0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e3df40;
/* rgb */ color: rgb(227, 223, 64);
/* oklch */ color: oklch(88.0% 0.171 108.0);
Tailwind
colors: {
  custom: {
    50: '#f0e880',
    500: '#e3df40',
    950: '#000000',
  },
}
SCSS
$custom: #e3df40;
$custom-light: #f0e880;
$custom-dark: #000000;
JSON
{
  "hex": "#e3df40",
  "rgb": {
    "r": 227,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 58.528,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.88008,
    "c": 0.17051,
    "h": 108
  },
  "luminance": 0.69476
}

Semantic roles & 50–950 ramp

primary
#E3DF40
secondary
#303297
accent
#3BF137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E3DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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