#E4C150#E4C150

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

Color values

HEX#E4C150
RGBrgb(228, 193, 80)
HSLhsl(46, 73%, 60%)
HSVhsv(46, 65%, 89%)
CMYKcmyk(0%, 15.4%, 64.9%, 10.6%)
CIE-LABlab(79.17, 0.09, 59.70)
CIE-LCHlch(79.17, 59.70, 89.91°)
OKLaboklab(82.05% -0.0043 0.1356)
OKLCHoklch(82.05% 0.136 91.8)
XYZxyz(52.5154, 55.2160, 15.4795)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C150 #5073E4
analogous
#E47750 #E4C150 #BDE450
triadic
#E4C150 #50E4C1 #C150E4
tetradic
#E4C150 #50E477 #5073E4 #E450BD
square
#E4C150 #50E477 #5073E4 #E450BD
split-complementary
#E4C150 #50BDE4 #7750E4
monochromatic
#A18119 #D6AB21 #E4C150 #ECD485 #F4E7BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C150#FFFFFF#000000##000000
##E4C1501.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)
#D5BE43
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#F6B2A9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e4c150;
/* rgb */ color: rgb(228, 193, 80);
/* oklch */ color: oklch(82.1% 0.136 91.8);
Tailwind
colors: {
  custom: {
    50: '#f0d386',
    500: '#e4c150',
    950: '#000000',
  },
}
SCSS
$custom: #e4c150;
$custom-light: #f0d386;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c150",
  "rgb": {
    "r": 228,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 45.811,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82052,
    "c": 0.13569,
    "h": 91.8
  },
  "luminance": 0.55213
}

Semantic roles & 50–950 ramp

primary
#E4C150
secondary
#354FA4
accent
#3FD510
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C150

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

Preview Lab → · Contrast checker → · Palette generator →

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