#E3C159#E3C159

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

Color values

HEX#E3C159
RGBrgb(227, 193, 89)
HSLhsl(45, 71%, 62%)
HSVhsv(45, 61%, 89%)
CMYKcmyk(0%, 15%, 60.8%, 11%)
CIE-LABlab(79.15, 0.24, 55.66)
CIE-LCHlch(79.15, 55.66, 89.75°)
OKLaboklab(82.05% -0.0027 0.1283)
OKLCHoklch(82.05% 0.128 91.2)
XYZxyz(52.5541, 55.1949, 17.3348)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3C159 #597BE3
analogous
#E37C59 #E3C159 #C0E359
triadic
#E3C159 #59E3C1 #C159E3
tetradic
#E3C159 #59E37C #597BE3 #E359C0
square
#E3C159 #59E37C #597BE3 #E359C0
split-complementary
#E3C159 #59C0E3 #7C59E3
monochromatic
#A6841C #DAAD25 #E3C159 #ECD58D #F5E8C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E3C159#FFFFFF#000000##000000
##E3C1591.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)
#D4BE4E
Deuteranopia (green-blind)
#DCC85D
Tritanopia (blue-blind)
#F4B3AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e3c159;
/* rgb */ color: rgb(227, 193, 89);
/* oklch */ color: oklch(82.0% 0.128 91.2);
Tailwind
colors: {
  custom: {
    50: '#efd38b',
    500: '#e3c159',
    950: '#000000',
  },
}
SCSS
$custom: #e3c159;
$custom-light: #efd38b;
$custom-dark: #000000;
JSON
{
  "hex": "#e3c159",
  "rgb": {
    "r": 227,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 45.217,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82047,
    "c": 0.12835,
    "h": 91.2
  },
  "luminance": 0.55192
}

Semantic roles & 50–950 ramp

primary
#E3C159
secondary
#3854A8
accent
#42D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E3C159

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

Preview Lab → · Contrast checker → · Palette generator →

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