#E4C854#E4C854

#E4C854 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.5% C 0.137 H 95.7°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#E4C854
RGBrgb(228, 200, 84)
HSLhsl(48, 73%, 61%)
HSVhsv(48, 63%, 89%)
CMYKcmyk(0%, 12.3%, 63.2%, 10.6%)
CIE-LABlab(80.99, -3.28, 59.93)
CIE-LCHlch(80.99, 60.02, 93.14°)
OKLaboklab(83.5% -0.0136 0.1367)
OKLCHoklch(83.5% 0.137 95.7)
XYZxyz(54.2519, 58.4453, 16.8092)
Luminance0.5844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C854 #5470E4
analogous
#E48054 #E4C854 #B8E454
triadic
#E4C854 #54E4C8 #C854E4
tetradic
#E4C854 #54E480 #5470E4 #E454B8
square
#E4C854 #54E480 #5470E4 #E454B8
split-complementary
#E4C854 #54B8E4 #8054E4
monochromatic
#A4891A #D9B522 #E4C854 #ECD989 #F5EABE

Accessibility & contrast

On white

1.66
#E4C854 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#E4C854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C854
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C854#FFFFFF#000000##000000
##E4C8541.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC447
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#F5BAAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e4c854;
/* rgb */ color: rgb(228, 200, 84);
/* oklch */ color: oklch(83.5% 0.137 95.7);
Tailwind
colors: {
  custom: {
    50: '#f0d889',
    500: '#e4c854',
    950: '#000000',
  },
}
SCSS
$custom: #e4c854;
$custom-light: #f0d889;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c854",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 48.333,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83501,
    "c": 0.13737,
    "h": 95.7
  },
  "luminance": 0.58443
}

Semantic roles & 50–950 ramp

primary
#E4C854
secondary
#364CA6
accent
#37D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C854

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

Preview Lab → · Contrast checker → · Palette generator →

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