#E4C949#E4C949

#E4C949 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.6% C 0.146 H 97.1°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#E4C949
RGBrgb(228, 201, 73)
HSLhsl(50, 74%, 59%)
HSVhsv(50, 68%, 89%)
CMYKcmyk(0%, 11.8%, 68%, 10.6%)
CIE-LABlab(81.15, -4.43, 64.69)
CIE-LCHlch(81.15, 64.84, 93.92°)
OKLaboklab(83.61% -0.0181 0.1451)
OKLCHoklch(83.61% 0.146 97.1)
XYZxyz(54.0867, 58.7510, 14.7932)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C949 #4964E4
analogous
#E47C49 #E4C949 #B2E449
triadic
#E4C949 #49E4C9 #C949E4
tetradic
#E4C949 #49E47C #4964E4 #E449B2
square
#E4C949 #49E47C #4964E4 #E449B2
split-complementary
#E4C949 #49B2E4 #7C49E4
monochromatic
#9C8417 #D1B21F #E4C949 #ECD97E #F4E9B4

Accessibility & contrast

On white

1.65
#E4C949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#E4C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C949
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C949#FFFFFF#000000##000000
##E4C9491.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC438
Deuteranopia (green-blind)
#E4CD50
Tritanopia (blue-blind)
#F5BAAF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4c949;
/* rgb */ color: rgb(228, 201, 73);
/* oklch */ color: oklch(83.6% 0.146 97.1);
Tailwind
colors: {
  custom: {
    50: '#f0d982',
    500: '#e4c949',
    950: '#000000',
  },
}
SCSS
$custom: #e4c949;
$custom-light: #f0d982;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c949",
  "rgb": {
    "r": 228,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 49.548,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83607,
    "c": 0.14621,
    "h": 97.1
  },
  "luminance": 0.58748
}

Semantic roles & 50–950 ramp

primary
#E4C949
secondary
#32459F
accent
#57F137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C949

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

Preview Lab → · Contrast checker → · Palette generator →

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