#E2C555#E2C555

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

Color values

HEX#E2C555
RGBrgb(226, 197, 85)
HSLhsl(48, 71%, 61%)
HSVhsv(48, 62%, 89%)
CMYKcmyk(0%, 12.8%, 62.4%, 11.4%)
CIE-LABlab(80.04, -2.51, 58.41)
CIE-LCHlch(80.04, 58.47, 92.46°)
OKLaboklab(82.72% -0.0111 0.1337)
OKLCHoklch(82.72% 0.134 94.8)
XYZxyz(52.9724, 56.7598, 16.7581)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C555 #5572E2
analogous
#E27E55 #E2C555 #B8E255
triadic
#E2C555 #55E2C5 #C555E2
tetradic
#E2C555 #55E27E #5572E2 #E255B8
square
#E2C555 #55E27E #5572E2 #E255B8
split-complementary
#E2C555 #55B8E2 #7E55E2
monochromatic
#A1861B #D5B124 #E2C555 #EBD789 #F4E9BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2C555#FFFFFF#000000##000000
##E2C5551.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)
#D8C149
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#F3B7AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c555;
/* rgb */ color: rgb(226, 197, 85);
/* oklch */ color: oklch(82.7% 0.134 94.8);
Tailwind
colors: {
  custom: {
    50: '#eed689',
    500: '#e2c555',
    950: '#000000',
  },
}
SCSS
$custom: #e2c555;
$custom-light: #eed689;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c555",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 85
  },
  "hsl": {
    "h": 47.66,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82717,
    "c": 0.13414,
    "h": 94.8
  },
  "luminance": 0.56757
}

Semantic roles & 50–950 ramp

primary
#E2C555
secondary
#374EA4
accent
#3AD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C555

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

Preview Lab → · Contrast checker → · Palette generator →

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