#E2C554#E2C554

#E2C554 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.7% C 0.135 H 94.9°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#E2C554
RGBrgb(226, 197, 84)
HSLhsl(48, 71%, 61%)
HSVhsv(48, 63%, 89%)
CMYKcmyk(0%, 12.8%, 62.8%, 11.4%)
CIE-LABlab(80.04, -2.58, 58.84)
CIE-LCHlch(80.04, 58.90, 92.51°)
OKLaboklab(82.71% -0.0114 0.1344)
OKLCHoklch(82.71% 0.135 94.9)
XYZxyz(52.9329, 56.7440, 16.5503)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C554 #5471E2
analogous
#E27E54 #E2C554 #B8E254
triadic
#E2C554 #54E2C5 #C554E2
tetradic
#E2C554 #54E27E #5471E2 #E254B8
square
#E2C554 #54E27E #5471E2 #E254B8
split-complementary
#E2C554 #54B8E2 #7E54E2
monochromatic
#A0851B #D5B124 #E2C554 #EBD788 #F4E8BD

Accessibility & contrast

On white

1.70
#E2C554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#E2C554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C554
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C554#FFFFFF#000000##000000
##E2C5541.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C147
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#F3B7AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c554;
/* rgb */ color: rgb(226, 197, 84);
/* oklch */ color: oklch(82.7% 0.135 94.9);
Tailwind
colors: {
  custom: {
    50: '#eed689',
    500: '#e2c554',
    950: '#000000',
  },
}
SCSS
$custom: #e2c554;
$custom-light: #eed689;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c554",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 84
  },
  "hsl": {
    "h": 47.746,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82707,
    "c": 0.13493,
    "h": 94.9
  },
  "luminance": 0.56741
}

Semantic roles & 50–950 ramp

primary
#E2C554
secondary
#374DA3
accent
#3AD312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C554

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

Preview Lab → · Contrast checker → · Palette generator →

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