#E3D331#E3D331

#E3D331 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.4% C 0.168 H 103.4°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#E3D331
RGBrgb(227, 211, 49)
HSLhsl(55, 76%, 54%)
HSVhsv(55, 78%, 89%)
CMYKcmyk(0%, 7%, 78.4%, 11%)
CIE-LABlab(83.52, -10.97, 75.25)
CIE-LCHlch(83.52, 76.04, 98.29°)
OKLaboklab(85.42% -0.0389 0.1632)
OKLCHoklch(85.42% 0.168 103.4)
XYZxyz(55.5298, 63.1436, 12.1681)
Luminance0.6314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3D331 #3141E3
analogous
#E37A31 #E3D331 #9AE331
triadic
#E3D331 #31E3D3 #D331E3
tetradic
#E3D331 #31E37A #3141E3 #E3319A
square
#E3D331 #31E37A #3141E3 #E3319A
split-complementary
#E3D331 #319AE3 #7A31E3
monochromatic
#877D12 #BDAE1A #E3D331 #EADF67 #F2EA9D

Accessibility & contrast

On white

1.54
#E3D331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#E3D331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3D331
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3D331#FFFFFF#000000##000000
##E3D3311.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CC00
Deuteranopia (green-blind)
#ECD33E
Tritanopia (blue-blind)
#F5C4B5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e3d331;
/* rgb */ color: rgb(227, 211, 49);
/* oklch */ color: oklch(85.4% 0.168 103.4);
Tailwind
colors: {
  custom: {
    50: '#f0e077',
    500: '#e3d331',
    950: '#000000',
  },
}
SCSS
$custom: #e3d331;
$custom-light: #f0e077;
$custom-dark: #000000;
JSON
{
  "hex": "#e3d331",
  "rgb": {
    "r": 227,
    "g": 211,
    "b": 49
  },
  "hsl": {
    "h": 54.607,
    "s": 76.068,
    "l": 54.118
  },
  "oklch": {
    "l": 0.85417,
    "c": 0.16776,
    "h": 103.4
  },
  "luminance": 0.63141
}

Semantic roles & 50–950 ramp

primary
#E3D331
secondary
#2B348D
accent
#46F335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E3D331

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

Preview Lab → · Contrast checker → · Palette generator →

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