#E2C362#E2C362

#E2C362 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.5% C 0.122 H 91.9°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#E2C362
RGBrgb(226, 195, 98)
HSLhsl(45, 69%, 64%)
HSVhsv(45, 57%, 89%)
CMYKcmyk(0%, 13.7%, 56.6%, 11.4%)
CIE-LABlab(79.66, -0.57, 52.04)
CIE-LCHlch(79.66, 52.04, 90.62°)
OKLaboklab(82.46% -0.004 0.1216)
OKLCHoklch(82.46% 0.122 91.9)
XYZxyz(53.0860, 56.0834, 19.5819)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C362 #6281E2
analogous
#E28362 #E2C362 #C1E262
triadic
#E2C362 #62E2C3 #C362E2
tetradic
#E2C362 #62E283 #6281E2 #E262C1
square
#E2C362 #62E283 #6281E2 #E262C1
split-complementary
#E2C362 #62C1E2 #8362E2
monochromatic
#AA891F #D8AF2E #E2C362 #ECD796 #F5EAC9

Accessibility & contrast

On white

1.72
#E2C362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#E2C362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C362
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C362#FFFFFF#000000##000000
##E2C3621.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#DDC966
Tritanopia (blue-blind)
#F2B6AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c362;
/* rgb */ color: rgb(226, 195, 98);
/* oklch */ color: oklch(82.5% 0.122 91.9);
Tailwind
colors: {
  custom: {
    50: '#eed491',
    500: '#e2c362',
    950: '#000000',
  },
}
SCSS
$custom: #e2c362;
$custom-light: #eed491;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c362",
  "rgb": {
    "r": 226,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 45.469,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82456,
    "c": 0.12169,
    "h": 91.9
  },
  "luminance": 0.56081
}

Semantic roles & 50–950 ramp

primary
#E2C362
secondary
#3C57AC
accent
#42D115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C362

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

Preview Lab → · Contrast checker → · Palette generator →

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