#E2C662#E2C662

#E2C662 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 83.1% C 0.124 H 93.9°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#E2C662
RGBrgb(226, 198, 98)
HSLhsl(47, 69%, 64%)
HSVhsv(47, 57%, 89%)
CMYKcmyk(0%, 12.4%, 56.6%, 11.4%)
CIE-LABlab(80.43, -2.12, 52.93)
CIE-LCHlch(80.43, 52.97, 92.29°)
OKLaboklab(83.06% -0.0084 0.1236)
OKLCHoklch(83.06% 0.124 93.9)
XYZxyz(53.7649, 57.4413, 19.8082)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C662 #627EE2
analogous
#E28662 #E2C662 #BEE262
triadic
#E2C662 #62E2C6 #C662E2
tetradic
#E2C662 #62E286 #627EE2 #E262BE
square
#E2C662 #62E286 #627EE2 #E262BE
split-complementary
#E2C662 #62BEE2 #8662E2
monochromatic
#AA8C1F #D8B32E #E2C662 #ECD996 #F5ECC9

Accessibility & contrast

On white

1.68
#E2C662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#E2C662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C662
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C662#FFFFFF#000000##000000
##E2C6621.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C358
Deuteranopia (green-blind)
#DFCB66
Tritanopia (blue-blind)
#F2B9AF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e2c662;
/* rgb */ color: rgb(226, 198, 98);
/* oklch */ color: oklch(83.1% 0.124 93.9);
Tailwind
colors: {
  custom: {
    50: '#eed791',
    500: '#e2c662',
    950: '#000000',
  },
}
SCSS
$custom: #e2c662;
$custom-light: #eed791;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c662",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 46.875,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8306,
    "c": 0.12384,
    "h": 93.9
  },
  "luminance": 0.57439
}

Semantic roles & 50–950 ramp

primary
#E2C662
secondary
#3C55AC
accent
#3ED115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C662

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

Preview Lab → · Contrast checker → · Palette generator →

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