#E4C64F#E4C64F

#E4C64F is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 83.0% C 0.140 H 95.0°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#E4C64F
RGBrgb(228, 198, 79)
HSLhsl(48, 73%, 60%)
HSVhsv(48, 65%, 89%)
CMYKcmyk(0%, 13.2%, 65.4%, 10.6%)
CIE-LABlab(80.43, -2.56, 61.47)
CIE-LCHlch(80.43, 61.53, 92.38°)
OKLaboklab(83.05% -0.0121 0.1392)
OKLCHoklch(83.05% 0.14 95)
XYZxyz(53.6028, 57.4494, 15.6611)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C64F #4F6DE4
analogous
#E47B4F #E4C64F #B8E44F
triadic
#E4C64F #4FE4C6 #C64FE4
tetradic
#E4C64F #4FE47B #4F6DE4 #E44FB8
square
#E4C64F #4FE47B #4F6DE4 #E44FB8
split-complementary
#E4C64F #4FB8E4 #7B4FE4
monochromatic
#A08519 #D5B121 #E4C64F #ECD784 #F4E8B9

Accessibility & contrast

On white

1.68
#E4C64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#E4C64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C64F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C64F#FFFFFF#000000##000000
##E4C64F1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C241
Deuteranopia (green-blind)
#E1CC55
Tritanopia (blue-blind)
#F5B7AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c64f;
/* rgb */ color: rgb(228, 198, 79);
/* oklch */ color: oklch(83.0% 0.140 95.0);
Tailwind
colors: {
  custom: {
    50: '#f0d686',
    500: '#e4c64f',
    950: '#000000',
  },
}
SCSS
$custom: #e4c64f;
$custom-light: #f0d686;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c64f",
  "rgb": {
    "r": 228,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 47.919,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8305,
    "c": 0.13976,
    "h": 95
  },
  "luminance": 0.57447
}

Semantic roles & 50–950 ramp

primary
#E4C64F
secondary
#344BA3
accent
#38D610
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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