#E2C154#E2C154

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

Color values

HEX#E2C154
RGBrgb(226, 193, 84)
HSLhsl(46, 71%, 61%)
HSVhsv(46, 63%, 89%)
CMYKcmyk(0%, 14.6%, 62.8%, 11.4%)
CIE-LABlab(79.01, -0.51, 57.73)
CIE-LCHlch(79.01, 57.73, 90.50°)
OKLaboklab(81.9% -0.0054 0.1321)
OKLCHoklch(81.9% 0.132 92.4)
XYZxyz(52.0367, 54.9515, 16.2516)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C154 #5475E2
analogous
#E27A54 #E2C154 #BCE254
triadic
#E2C154 #54E2C1 #C154E2
tetradic
#E2C154 #54E27A #5475E2 #E254BC
square
#E2C154 #54E27A #5475E2 #E254BC
split-complementary
#E2C154 #54BCE2 #7A54E2
monochromatic
#A0811B #D5AC24 #E2C154 #EBD488 #F4E7BD

Accessibility & contrast

On white

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

On black

11.99
#E2C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C154
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C154#FFFFFF#000000##000000
##E2C1541.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE48
Deuteranopia (green-blind)
#DCC859
Tritanopia (blue-blind)
#F3B3A9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c154;
/* rgb */ color: rgb(226, 193, 84);
/* oklch */ color: oklch(81.9% 0.132 92.4);
Tailwind
colors: {
  custom: {
    50: '#eed388',
    500: '#e2c154',
    950: '#000000',
  },
}
SCSS
$custom: #e2c154;
$custom-light: #eed388;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c154",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 46.056,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81899,
    "c": 0.13219,
    "h": 92.4
  },
  "luminance": 0.54949
}

Semantic roles & 50–950 ramp

primary
#E2C154
secondary
#3750A3
accent
#3FD312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C154

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

Preview Lab → · Contrast checker → · Palette generator →

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