#E4C74F#E4C74F

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

Color values

HEX#E4C74F
RGBrgb(228, 199, 79)
HSLhsl(48, 73%, 60%)
HSVhsv(48, 65%, 89%)
CMYKcmyk(0%, 12.7%, 65.4%, 10.6%)
CIE-LABlab(80.69, -3.07, 61.74)
CIE-LCHlch(80.69, 61.82, 92.85°)
OKLaboklab(83.25% -0.0135 0.1398)
OKLCHoklch(83.25% 0.14 95.5)
XYZxyz(53.8321, 57.9081, 15.7375)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C74F #4F6CE4
analogous
#E47C4F #E4C74F #B7E44F
triadic
#E4C74F #4FE4C7 #C74FE4
tetradic
#E4C74F #4FE47C #4F6CE4 #E44FB7
square
#E4C74F #4FE47C #4F6CE4 #E44FB7
split-complementary
#E4C74F #4FB7E4 #7C4FE4
monochromatic
#A08619 #D5B221 #E4C74F #ECD884 #F4E9B9

Accessibility & contrast

On white

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

On black

12.58
#E4C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C74F
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C74F#FFFFFF#000000##000000
##E4C74F1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#E2CC55
Tritanopia (blue-blind)
#F5B9AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c74f;
/* rgb */ color: rgb(228, 199, 79);
/* oklch */ color: oklch(83.3% 0.140 95.5);
Tailwind
colors: {
  custom: {
    50: '#f0d786',
    500: '#e4c74f',
    950: '#000000',
  },
}
SCSS
$custom: #e4c74f;
$custom-light: #f0d786;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c74f",
  "rgb": {
    "r": 228,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 48.322,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83252,
    "c": 0.14046,
    "h": 95.5
  },
  "luminance": 0.57905
}

Semantic roles & 50–950 ramp

primary
#E4C74F
secondary
#344AA3
accent
#36D610
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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