#E4C250#E4C250

#E4C250 is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.3% C 0.136 H 92.5°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#E4C250
RGBrgb(228, 194, 80)
HSLhsl(46, 73%, 60%)
HSVhsv(46, 65%, 89%)
CMYKcmyk(0%, 14.9%, 64.9%, 10.6%)
CIE-LABlab(79.42, -0.43, 59.97)
CIE-LCHlch(79.42, 59.97, 90.41°)
OKLaboklab(82.25% -0.0058 0.1362)
OKLCHoklch(82.25% 0.136 92.5)
XYZxyz(52.7372, 55.6596, 15.5535)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C250 #5072E4
analogous
#E47850 #E4C250 #BCE450
triadic
#E4C250 #50E4C2 #C250E4
tetradic
#E4C250 #50E478 #5072E4 #E450BC
square
#E4C250 #50E478 #5072E4 #E450BC
split-complementary
#E4C250 #50BCE4 #7850E4
monochromatic
#A18219 #D6AC21 #E4C250 #ECD485 #F4E7BA

Accessibility & contrast

On white

1.73
#E4C250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#E4C250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C250
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C250#FFFFFF#000000##000000
##E4C2501.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF43
Deuteranopia (green-blind)
#DEC955
Tritanopia (blue-blind)
#F6B3AA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e4c250;
/* rgb */ color: rgb(228, 194, 80);
/* oklch */ color: oklch(82.3% 0.136 92.5);
Tailwind
colors: {
  custom: {
    50: '#f0d486',
    500: '#e4c250',
    950: '#000000',
  },
}
SCSS
$custom: #e4c250;
$custom-light: #f0d486;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c250",
  "rgb": {
    "r": 228,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 46.216,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82253,
    "c": 0.13632,
    "h": 92.5
  },
  "luminance": 0.55657
}

Semantic roles & 50–950 ramp

primary
#E4C250
secondary
#354EA4
accent
#3DD510
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C250

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

Preview Lab → · Contrast checker → · Palette generator →

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