#E2C462#E2C462

#E2C462 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.7% C 0.122 H 92.6°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#E2C462
RGBrgb(226, 196, 98)
HSLhsl(46, 69%, 64%)
HSVhsv(46, 57%, 89%)
CMYKcmyk(0%, 13.3%, 56.6%, 11.4%)
CIE-LABlab(79.92, -1.09, 52.34)
CIE-LCHlch(79.92, 52.35, 91.19°)
OKLaboklab(82.66% -0.0054 0.1223)
OKLCHoklch(82.66% 0.122 92.6)
XYZxyz(53.3108, 56.5330, 19.6568)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C462 #6280E2
analogous
#E28462 #E2C462 #C0E262
triadic
#E2C462 #62E2C4 #C462E2
tetradic
#E2C462 #62E284 #6280E2 #E262C0
square
#E2C462 #62E284 #6280E2 #E262C0
split-complementary
#E2C462 #62C0E2 #8462E2
monochromatic
#AA8A1F #D8B12E #E2C462 #ECD796 #F5EBC9

Accessibility & contrast

On white

1.71
#E2C462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#E2C462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C462
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C462#FFFFFF#000000##000000
##E2C4621.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C159
Deuteranopia (green-blind)
#DDCA66
Tritanopia (blue-blind)
#F2B7AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c462;
/* rgb */ color: rgb(226, 196, 98);
/* oklch */ color: oklch(82.7% 0.122 92.6);
Tailwind
colors: {
  custom: {
    50: '#eed591',
    500: '#e2c462',
    950: '#000000',
  },
}
SCSS
$custom: #e2c462;
$custom-light: #eed591;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c462",
  "rgb": {
    "r": 226,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 45.938,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82657,
    "c": 0.12239,
    "h": 92.6
  },
  "luminance": 0.5653
}

Semantic roles & 50–950 ramp

primary
#E2C462
secondary
#3C56AC
accent
#41D115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C462

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

Preview Lab → · Contrast checker → · Palette generator →

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