#E4C34F#E4C34F

#E4C34F is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.4% C 0.138 H 93.2°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#E4C34F
RGBrgb(228, 195, 79)
HSLhsl(47, 73%, 60%)
HSVhsv(47, 65%, 89%)
CMYKcmyk(0%, 14.5%, 65.4%, 10.6%)
CIE-LABlab(79.67, -1.01, 60.66)
CIE-LCHlch(79.67, 60.67, 90.95°)
OKLaboklab(82.44% -0.0076 0.1375)
OKLCHoklch(82.44% 0.138 93.2)
XYZxyz(52.9239, 56.0916, 15.4347)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C34F #4F70E4
analogous
#E4784F #E4C34F #BBE44F
triadic
#E4C34F #4FE4C3 #C34FE4
tetradic
#E4C34F #4FE478 #4F70E4 #E44FBB
square
#E4C34F #4FE478 #4F70E4 #E44FBB
split-complementary
#E4C34F #4FBBE4 #784FE4
monochromatic
#A08219 #D5AD21 #E4C34F #ECD584 #F4E7B9

Accessibility & contrast

On white

1.72
#E4C34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#E4C34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C34F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C34F#FFFFFF#000000##000000
##E4C34F1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C041
Deuteranopia (green-blind)
#DFCA55
Tritanopia (blue-blind)
#F6B4AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e4c34f;
/* rgb */ color: rgb(228, 195, 79);
/* oklch */ color: oklch(82.4% 0.138 93.2);
Tailwind
colors: {
  custom: {
    50: '#f0d485',
    500: '#e4c34f',
    950: '#000000',
  },
}
SCSS
$custom: #e4c34f;
$custom-light: #f0d485;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c34f",
  "rgb": {
    "r": 228,
    "g": 195,
    "b": 79
  },
  "hsl": {
    "h": 46.711,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82444,
    "c": 0.13772,
    "h": 93.2
  },
  "luminance": 0.56089
}

Semantic roles & 50–950 ramp

primary
#E4C34F
secondary
#344DA3
accent
#3CD610
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C34F

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

Preview Lab → · Contrast checker → · Palette generator →

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