#E4C255#E4C255

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

Color values

HEX#E4C255
RGBrgb(228, 194, 85)
HSLhsl(46, 73%, 61%)
HSVhsv(46, 63%, 89%)
CMYKcmyk(0%, 14.9%, 62.7%, 10.6%)
CIE-LABlab(79.46, -0.12, 57.83)
CIE-LCHlch(79.46, 57.83, 90.12°)
OKLaboklab(82.3% -0.0043 0.1324)
OKLCHoklch(82.3% 0.132 91.9)
XYZxyz(52.9289, 55.7363, 16.5629)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C255 #5577E4
analogous
#E47B55 #E4C255 #BFE455
triadic
#E4C255 #55E4C2 #C255E4
tetradic
#E4C255 #55E47B #5577E4 #E455BF
square
#E4C255 #55E47B #5577E4 #E455BF
split-complementary
#E4C255 #55BFE4 #7B55E4
monochromatic
#A4841A #D9AE23 #E4C255 #ECD58A #F5E8BF

Accessibility & contrast

On white

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

On black

12.15
#E4C255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C255
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C255#FFFFFF#000000##000000
##E4C2551.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF49
Deuteranopia (green-blind)
#DEC95A
Tritanopia (blue-blind)
#F5B4AA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e4c255;
/* rgb */ color: rgb(228, 194, 85);
/* oklch */ color: oklch(82.3% 0.132 91.9);
Tailwind
colors: {
  custom: {
    50: '#f0d489',
    500: '#e4c255',
    950: '#000000',
  },
}
SCSS
$custom: #e4c255;
$custom-light: #f0d489;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c255",
  "rgb": {
    "r": 228,
    "g": 194,
    "b": 85
  },
  "hsl": {
    "h": 45.734,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82301,
    "c": 0.13245,
    "h": 91.9
  },
  "luminance": 0.55733
}

Semantic roles & 50–950 ramp

primary
#E4C255
secondary
#3651A7
accent
#3FD511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C255

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

Preview Lab → · Contrast checker → · Palette generator →

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