#E2C666#E2C666

#E2C666 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.1% C 0.120 H 93.4°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#E2C666
RGBrgb(226, 198, 102)
HSLhsl(46, 68%, 64%)
HSVhsv(46, 55%, 89%)
CMYKcmyk(0%, 12.4%, 54.9%, 11.4%)
CIE-LABlab(80.47, -1.81, 51.09)
CIE-LCHlch(80.47, 51.12, 92.03°)
OKLaboklab(83.11% -0.0071 0.12)
OKLCHoklch(83.11% 0.12 93.4)
XYZxyz(53.9585, 57.5187, 20.8278)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C666 #6682E2
analogous
#E28866 #E2C666 #C0E266
triadic
#E2C666 #66E2C6 #C666E2
tetradic
#E2C666 #66E288 #6682E2 #E266C0
square
#E2C666 #66E288 #6682E2 #E266C0
split-complementary
#E2C666 #66C0E2 #8866E2
monochromatic
#AD8D21 #D8B333 #E2C666 #ECD999 #F6ECCD

Accessibility & contrast

On white

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

On black

12.50
#E2C666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C666
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C666#FFFFFF#000000##000000
##E2C6661.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C35D
Deuteranopia (green-blind)
#DFCB6A
Tritanopia (blue-blind)
#F2B9B0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e2c666;
/* rgb */ color: rgb(226, 198, 102);
/* oklch */ color: oklch(83.1% 0.120 93.4);
Tailwind
colors: {
  custom: {
    50: '#eed794',
    500: '#e2c666',
    950: '#000000',
  },
}
SCSS
$custom: #e2c666;
$custom-light: #eed794;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c666",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 102
  },
  "hsl": {
    "h": 46.452,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83109,
    "c": 0.1202,
    "h": 93.4
  },
  "luminance": 0.57516
}

Semantic roles & 50–950 ramp

primary
#E2C666
secondary
#3E57AE
accent
#40D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C666

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

Preview Lab → · Contrast checker → · Palette generator →

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