#E2C558#E2C558

#E2C558 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.132 H 94.4°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#E2C558
RGBrgb(226, 197, 88)
HSLhsl(47, 70%, 62%)
HSVhsv(47, 61%, 89%)
CMYKcmyk(0%, 12.8%, 61.1%, 11.4%)
CIE-LABlab(80.07, -2.32, 57.11)
CIE-LCHlch(80.07, 57.16, 92.32°)
OKLaboklab(82.75% -0.0102 0.1313)
OKLCHoklch(82.75% 0.132 94.4)
XYZxyz(53.0941, 56.8085, 17.3991)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C558 #5875E2
analogous
#E28058 #E2C558 #BAE258
triadic
#E2C558 #58E2C5 #C558E2
tetradic
#E2C558 #58E280 #5875E2 #E258BA
square
#E2C558 #58E280 #5875E2 #E258BA
split-complementary
#E2C558 #58BAE2 #8058E2
monochromatic
#A3871C #D7B225 #E2C558 #EBD78C #F4E9C0

Accessibility & contrast

On white

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

On black

12.36
#E2C558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C558
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C558#FFFFFF#000000##000000
##E2C5581.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14C
Deuteranopia (green-blind)
#DFCA5D
Tritanopia (blue-blind)
#F3B7AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e2c558;
/* rgb */ color: rgb(226, 197, 88);
/* oklch */ color: oklch(82.7% 0.132 94.4);
Tailwind
colors: {
  custom: {
    50: '#eed68b',
    500: '#e2c558',
    950: '#000000',
  },
}
SCSS
$custom: #e2c558;
$custom-light: #eed68b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c558",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 47.391,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82747,
    "c": 0.1317,
    "h": 94.4
  },
  "luminance": 0.56806
}

Semantic roles & 50–950 ramp

primary
#E2C558
secondary
#384FA6
accent
#3BD213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C558

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

Preview Lab → · Contrast checker → · Palette generator →

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