#E4DF3F#E4DF3F

#E4DF3F is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.1% C 0.171 H 107.6°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#E4DF3F
RGBrgb(228, 223, 63)
HSLhsl(58, 75%, 57%)
HSVhsv(58, 72%, 89%)
CMYKcmyk(0%, 2.2%, 72.4%, 10.6%)
CIE-LABlab(86.82, -15.97, 73.93)
CIE-LCHlch(86.82, 75.64, 102.19°)
OKLaboklab(88.09% -0.0517 0.1629)
OKLCHoklch(88.09% 0.171 107.6)
XYZxyz(59.2821, 69.6302, 15.0189)
Luminance0.6963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF3F #3F44E4
analogous
#E48D3F #E4DF3F #96E43F
triadic
#E4DF3F #3FE4DF #DF3FE4
tetradic
#E4DF3F #3FE48D #3F44E4 #E43F96
square
#E4DF3F #3FE48D #3F44E4 #E43F96
split-complementary
#E4DF3F #3F96E4 #8D3FE4
monochromatic
#949015 #C9C41C #E4DF3F #ECE875 #F3F1AA

Accessibility & contrast

On white

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

On black

14.93
#E4DF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF3F
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF3F#FFFFFF#000000##000000
##E4DF3F1.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D61F
Deuteranopia (green-blind)
#F4DC4B
Tritanopia (blue-blind)
#F4D0C0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e4df3f;
/* rgb */ color: rgb(228, 223, 63);
/* oklch */ color: oklch(88.1% 0.171 107.6);
Tailwind
colors: {
  custom: {
    50: '#f0e87f',
    500: '#e4df3f',
    950: '#000000',
  },
}
SCSS
$custom: #e4df3f;
$custom-light: #f0e87f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df3f",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 63
  },
  "hsl": {
    "h": 58.182,
    "s": 75.342,
    "l": 57.059
  },
  "oklch": {
    "l": 0.88086,
    "c": 0.17091,
    "h": 107.6
  },
  "luminance": 0.69628
}

Semantic roles & 50–950 ramp

primary
#E4DF3F
secondary
#2F3298
accent
#3CF236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E4DF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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