#E0C255#E0C255

#E0C255 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.9% C 0.132 H 93.9°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#E0C255
RGBrgb(224, 194, 85)
HSLhsl(47, 69%, 61%)
HSVhsv(47, 62%, 88%)
CMYKcmyk(0%, 13.4%, 62.1%, 12.2%)
CIE-LABlab(79.09, -1.80, 57.32)
CIE-LCHlch(79.09, 57.34, 91.80°)
OKLaboklab(81.92% -0.0089 0.1314)
OKLCHoklch(81.92% 0.132 93.9)
XYZxyz(51.6743, 55.0894, 16.5040)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C255 #5573E0
analogous
#E07C55 #E0C255 #B9E055
triadic
#E0C255 #55E0C2 #C255E0
tetradic
#E0C255 #55E07C #5573E0 #E055B9
square
#E0C255 #55E07C #5573E0 #E055B9
split-complementary
#E0C255 #55B9E0 #7C55E0
monochromatic
#9E821D #D2AD26 #E0C255 #E9D589 #F3E7BD

Accessibility & contrast

On white

1.75
#E0C255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#E0C255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C255
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C255#FFFFFF#000000##000000
##E0C2551.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF49
Deuteranopia (green-blind)
#DCC85A
Tritanopia (blue-blind)
#F1B4AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e0c255;
/* rgb */ color: rgb(224, 194, 85);
/* oklch */ color: oklch(81.9% 0.132 93.9);
Tailwind
colors: {
  custom: {
    50: '#edd489',
    500: '#e0c255',
    950: '#000000',
  },
}
SCSS
$custom: #e0c255;
$custom-light: #edd489;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c255",
  "rgb": {
    "r": 224,
    "g": 194,
    "b": 85
  },
  "hsl": {
    "h": 47.05,
    "s": 69.154,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81922,
    "c": 0.1317,
    "h": 93.9
  },
  "luminance": 0.55087
}

Semantic roles & 50–950 ramp

primary
#E0C255
secondary
#384FA1
accent
#3DD114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0C255

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

Preview Lab → · Contrast checker → · Palette generator →

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