#E2C562#E2C562

#E2C562 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.9% C 0.123 H 93.2°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#E2C562
RGBrgb(226, 197, 98)
HSLhsl(46, 69%, 64%)
HSVhsv(46, 57%, 89%)
CMYKcmyk(0%, 12.8%, 56.6%, 11.4%)
CIE-LABlab(80.17, -1.60, 52.63)
CIE-LCHlch(80.17, 52.66, 91.75°)
OKLaboklab(82.86% -0.0069 0.1229)
OKLCHoklch(82.86% 0.123 93.2)
XYZxyz(53.5371, 56.9857, 19.7323)
Luminance0.5698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C562 #627FE2
analogous
#E28562 #E2C562 #BFE262
triadic
#E2C562 #62E2C5 #C562E2
tetradic
#E2C562 #62E285 #627FE2 #E262BF
square
#E2C562 #62E285 #627FE2 #E262BF
split-complementary
#E2C562 #62BFE2 #8562E2
monochromatic
#AA8B1F #D8B22E #E2C562 #ECD896 #F5EBC9

Accessibility & contrast

On white

1.69
#E2C562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#E2C562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C562
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C562#FFFFFF#000000##000000
##E2C5621.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C258
Deuteranopia (green-blind)
#DECB66
Tritanopia (blue-blind)
#F2B8AF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e2c562;
/* rgb */ color: rgb(226, 197, 98);
/* oklch */ color: oklch(82.9% 0.123 93.2);
Tailwind
colors: {
  custom: {
    50: '#eed691',
    500: '#e2c562',
    950: '#000000',
  },
}
SCSS
$custom: #e2c562;
$custom-light: #eed691;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c562",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 46.406,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82858,
    "c": 0.12311,
    "h": 93.2
  },
  "luminance": 0.56983
}

Semantic roles & 50–950 ramp

primary
#E2C562
secondary
#3C56AC
accent
#3FD115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C562

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

Preview Lab → · Contrast checker → · Palette generator →

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