#E0C74D#E0C74D

#E0C74D is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.9% C 0.142 H 97.6°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#E0C74D
RGBrgb(224, 199, 77)
HSLhsl(50, 70%, 59%)
HSVhsv(50, 66%, 88%)
CMYKcmyk(0%, 11.2%, 65.6%, 12.2%)
CIE-LABlab(80.31, -4.87, 62.07)
CIE-LCHlch(80.31, 62.26, 94.49°)
OKLaboklab(82.86% -0.0187 0.1403)
OKLCHoklch(82.86% 0.142 97.6)
XYZxyz(52.5058, 57.2325, 15.3011)
Luminance0.5723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C74D #4D66E0
analogous
#E07E4D #E0C74D #B0E04D
triadic
#E0C74D #4DE0C7 #C74DE0
tetradic
#E0C74D #4DE07E #4D66E0 #E04DB0
square
#E0C74D #4DE07E #4D66E0 #E04DB0
split-complementary
#E0C74D #4DB0E0 #7E4DE0
monochromatic
#98831A #CCB024 #E0C74D #E9D781 #F2E8B5

Accessibility & contrast

On white

1.69
#E0C74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#E0C74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C74D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C74D#FFFFFF#000000##000000
##E0C74D1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23E
Deuteranopia (green-blind)
#E0CB54
Tritanopia (blue-blind)
#F1B9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e0c74d;
/* rgb */ color: rgb(224, 199, 77);
/* oklch */ color: oklch(82.9% 0.142 97.6);
Tailwind
colors: {
  custom: {
    50: '#edd785',
    500: '#e0c74d',
    950: '#000000',
  },
}
SCSS
$custom: #e0c74d;
$custom-light: #edd785;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c74d",
  "rgb": {
    "r": 224,
    "g": 199,
    "b": 77
  },
  "hsl": {
    "h": 49.796,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82863,
    "c": 0.14155,
    "h": 97.6
  },
  "luminance": 0.5723
}

Semantic roles & 50–950 ramp

primary
#E0C74D
secondary
#35479C
accent
#59ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E0C74D

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

Preview Lab → · Contrast checker → · Palette generator →

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