#E3D54F#E3D54F

#E3D54F is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.0% C 0.152 H 103.3°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#E3D54F
RGBrgb(227, 213, 79)
HSLhsl(54, 73%, 60%)
HSVhsv(54, 65%, 89%)
CMYKcmyk(0%, 6.2%, 65.2%, 11%)
CIE-LABlab(84.22, -10.61, 65.42)
CIE-LCHlch(84.22, 66.28, 99.21°)
OKLaboklab(86.03% -0.035 0.1476)
OKLCHoklch(86.03% 0.152 103.3)
XYZxyz(56.8863, 64.4861, 16.8462)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3D54F #4F5DE3
analogous
#E38B4F #E3D54F #A7E34F
triadic
#E3D54F #4FE3D5 #D54FE3
tetradic
#E3D54F #4FE38B #4F5DE3 #E34FA7
square
#E3D54F #4FE38B #4F5DE3 #E34FA7
split-complementary
#E3D54F #4FA7E3 #8B4FE3
monochromatic
#9E9219 #D3C222 #E3D54F #EBE284 #F4EEB9

Accessibility & contrast

On white

1.51
#E3D54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#E3D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3D54F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3D54F#FFFFFF#000000##000000
##E3D54F1.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3D
Deuteranopia (green-blind)
#ECD557
Tritanopia (blue-blind)
#F3C7B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e3d54f;
/* rgb */ color: rgb(227, 213, 79);
/* oklch */ color: oklch(86.0% 0.152 103.3);
Tailwind
colors: {
  custom: {
    50: '#efe187',
    500: '#e3d54f',
    950: '#000000',
  },
}
SCSS
$custom: #e3d54f;
$custom-light: #efe187;
$custom-dark: #000000;
JSON
{
  "hex": "#e3d54f",
  "rgb": {
    "r": 227,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 54.324,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.86031,
    "c": 0.15171,
    "h": 103.3
  },
  "luminance": 0.64484
}

Semantic roles & 50–950 ramp

primary
#E3D54F
secondary
#353FA1
accent
#4AEF39
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E3D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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