#E3DF2E#E3DF2E

#E3DF2E is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.9% C 0.179 H 108.2°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#E3DF2E
RGBrgb(227, 223, 46)
HSLhsl(59, 76%, 54%)
HSVhsv(59, 80%, 89%)
CMYKcmyk(0%, 1.8%, 79.7%, 11%)
CIE-LABlab(86.66, -17.02, 78.82)
CIE-LCHlch(86.66, 80.64, 102.18°)
OKLaboklab(87.91% -0.056 0.1704)
OKLCHoklch(87.91% 0.179 108.2)
XYZxyz(58.5618, 69.3055, 12.8768)
Luminance0.6930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3DF2E #2E32E3
analogous
#E3842E #E3DF2E #8CE32E
triadic
#E3DF2E #2EE3DF #DF2EE3
tetradic
#E3DF2E #2EE384 #2E32E3 #E32E8C
square
#E3DF2E #2EE384 #2E32E3 #E32E8C
split-complementary
#E3DF2E #2E8CE3 #842EE3
monochromatic
#858212 #BBB719 #E3DF2E #EAE764 #F1F09A

Accessibility & contrast

On white

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

On black

14.86
#E3DF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3DF2E
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3DF2E#FFFFFF#000000##000000
##E3DF2E1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D600
Deuteranopia (green-blind)
#F5DC3F
Tritanopia (blue-blind)
#F4D0BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e3df2e;
/* rgb */ color: rgb(227, 223, 46);
/* oklch */ color: oklch(87.9% 0.179 108.2);
Tailwind
colors: {
  custom: {
    50: '#f0e878',
    500: '#e3df2e',
    950: '#000000',
  },
}
SCSS
$custom: #e3df2e;
$custom-light: #f0e878;
$custom-dark: #000000;
JSON
{
  "hex": "#e3df2e",
  "rgb": {
    "r": 227,
    "g": 223,
    "b": 46
  },
  "hsl": {
    "h": 58.674,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.87913,
    "c": 0.17932,
    "h": 108.2
  },
  "luminance": 0.69304
}

Semantic roles & 50–950 ramp

primary
#E3DF2E
secondary
#2A2C8B
accent
#39F335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E3DF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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