#E5C74A#E5C74A

#E5C74A is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.3% C 0.144 H 95.5°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#E5C74A
RGBrgb(229, 199, 74)
HSLhsl(48, 75%, 59%)
HSVhsv(48, 68%, 90%)
CMYKcmyk(0%, 13.1%, 67.7%, 10.2%)
CIE-LABlab(80.74, -2.93, 63.89)
CIE-LCHlch(80.74, 63.96, 92.63°)
OKLaboklab(83.3% -0.0138 0.1435)
OKLCHoklch(83.3% 0.144 95.5)
XYZxyz(53.9752, 58.0021, 14.8297)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C74A #4A68E5
analogous
#E57A4A #E5C74A #B6E54A
triadic
#E5C74A #4AE5C7 #C74AE5
tetradic
#E5C74A #4AE57A #4A68E5 #E54AB6
square
#E5C74A #4AE57A #4A68E5 #E54AB6
split-complementary
#E5C74A #4AB6E5 #7A4AE5
monochromatic
#9E8417 #D3B01E #E5C74A #EDD880 #F4E8B5

Accessibility & contrast

On white

1.67
#E5C74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#E5C74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C74A
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C74A#FFFFFF#000000##000000
##E5C74A1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC339
Deuteranopia (green-blind)
#E2CC51
Tritanopia (blue-blind)
#F7B8AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e5c74a;
/* rgb */ color: rgb(229, 199, 74);
/* oklch */ color: oklch(83.3% 0.144 95.5);
Tailwind
colors: {
  custom: {
    50: '#f1d783',
    500: '#e5c74a',
    950: '#000000',
  },
}
SCSS
$custom: #e5c74a;
$custom-light: #f1d783;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c74a",
  "rgb": {
    "r": 229,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 48.387,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83302,
    "c": 0.14419,
    "h": 95.5
  },
  "luminance": 0.57999
}

Semantic roles & 50–950 ramp

primary
#E5C74A
secondary
#3248A1
accent
#5BF136
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C74A

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

Preview Lab → · Contrast checker → · Palette generator →

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