#E2C551#E2C551

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

Color values

HEX#E2C551
RGBrgb(226, 197, 81)
HSLhsl(48, 71%, 60%)
HSVhsv(48, 64%, 89%)
CMYKcmyk(0%, 12.8%, 64.2%, 11.4%)
CIE-LABlab(80.01, -2.76, 60.12)
CIE-LCHlch(80.01, 60.18, 92.63°)
OKLaboklab(82.68% -0.0123 0.1367)
OKLCHoklch(82.68% 0.137 95.1)
XYZxyz(52.8179, 56.6980, 15.9447)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C551 #516EE2
analogous
#E27C51 #E2C551 #B7E251
triadic
#E2C551 #51E2C5 #C551E2
tetradic
#E2C551 #51E27C #516EE2 #E251B7
square
#E2C551 #51E27C #516EE2 #E251B7
split-complementary
#E2C551 #51B7E2 #7C51E2
monochromatic
#9E841A #D3B023 #E2C551 #EBD685 #F3E8BA

Accessibility & contrast

On white

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

On black

12.34
#E2C551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C551
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C551#FFFFFF#000000##000000
##E2C5511.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#F3B7AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c551;
/* rgb */ color: rgb(226, 197, 81);
/* oklch */ color: oklch(82.7% 0.137 95.1);
Tailwind
colors: {
  custom: {
    50: '#efd687',
    500: '#e2c551',
    950: '#000000',
  },
}
SCSS
$custom: #e2c551;
$custom-light: #efd687;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c551",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 48,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82678,
    "c": 0.13727,
    "h": 95.1
  },
  "luminance": 0.56695
}

Semantic roles & 50–950 ramp

primary
#E2C551
secondary
#364BA1
accent
#39D312
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C551

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

Preview Lab → · Contrast checker → · Palette generator →

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