#E4C34E#E4C34E

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

Color values

HEX#E4C34E
RGBrgb(228, 195, 78)
HSLhsl(47, 74%, 60%)
HSVhsv(47, 66%, 89%)
CMYKcmyk(0%, 14.5%, 65.8%, 10.6%)
CIE-LABlab(79.66, -1.06, 61.08)
CIE-LCHlch(79.66, 61.08, 91.00°)
OKLaboklab(82.44% -0.0079 0.1382)
OKLCHoklch(82.44% 0.138 93.3)
XYZxyz(52.8878, 56.0771, 15.2445)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C34E #4E6FE4
analogous
#E4784E #E4C34E #BAE44E
triadic
#E4C34E #4EE4C3 #C34EE4
tetradic
#E4C34E #4EE478 #4E6FE4 #E44EBA
square
#E4C34E #4EE478 #4E6FE4 #E44EBA
split-complementary
#E4C34E #4EBAE4 #784EE4
monochromatic
#9F8218 #D4AD20 #E4C34E #ECD583 #F4E7B8

Accessibility & contrast

On white

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

On black

12.21
#E4C34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C34E
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C34E#FFFFFF#000000##000000
##E4C34E1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C040
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#F6B4AA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e4c34e;
/* rgb */ color: rgb(228, 195, 78);
/* oklch */ color: oklch(82.4% 0.138 93.3);
Tailwind
colors: {
  custom: {
    50: '#f0d485',
    500: '#e4c34e',
    950: '#000000',
  },
}
SCSS
$custom: #e4c34e;
$custom-light: #f0d485;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c34e",
  "rgb": {
    "r": 228,
    "g": 195,
    "b": 78
  },
  "hsl": {
    "h": 46.8,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.82435,
    "c": 0.13846,
    "h": 93.3
  },
  "luminance": 0.56074
}

Semantic roles & 50–950 ramp

primary
#E4C34E
secondary
#344CA2
accent
#60F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C34E

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

Preview Lab → · Contrast checker → · Palette generator →

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