#E4C14F#E4C14F

#E4C14F is a very light, vivid yellow. Relative luminance 0.552; OKLCH L 82.0% C 0.136 H 91.9°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#E4C14F
RGBrgb(228, 193, 79)
HSLhsl(46, 73%, 60%)
HSVhsv(46, 65%, 89%)
CMYKcmyk(0%, 15.4%, 65.4%, 10.6%)
CIE-LABlab(79.16, 0.03, 60.12)
CIE-LCHlch(79.16, 60.12, 89.97°)
OKLaboklab(82.04% -0.0046 0.1364)
OKLCHoklch(82.04% 0.136 91.9)
XYZxyz(52.4788, 55.2013, 15.2864)
Luminance0.5520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C14F #4F72E4
analogous
#E4764F #E4C14F #BCE44F
triadic
#E4C14F #4FE4C1 #C14FE4
tetradic
#E4C14F #4FE476 #4F72E4 #E44FBC
square
#E4C14F #4FE476 #4F72E4 #E44FBC
split-complementary
#E4C14F #4FBCE4 #764FE4
monochromatic
#A08019 #D5AB21 #E4C14F #ECD484 #F4E6B9

Accessibility & contrast

On white

1.74
#E4C14F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#E4C14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C14F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C14F#FFFFFF#000000##000000
##E4C14F1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE41
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#F6B2A9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e4c14f;
/* rgb */ color: rgb(228, 193, 79);
/* oklch */ color: oklch(82.0% 0.136 91.9);
Tailwind
colors: {
  custom: {
    50: '#f0d385',
    500: '#e4c14f',
    950: '#000000',
  },
}
SCSS
$custom: #e4c14f;
$custom-light: #f0d385;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c14f",
  "rgb": {
    "r": 228,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 45.906,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82043,
    "c": 0.13644,
    "h": 91.9
  },
  "luminance": 0.55198
}

Semantic roles & 50–950 ramp

primary
#E4C14F
secondary
#344EA3
accent
#3ED610
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C14F

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

Preview Lab → · Contrast checker → · Palette generator →

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