#E2C366#E2C366

#E2C366 is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.5% C 0.118 H 91.3°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#E2C366
RGBrgb(226, 195, 102)
HSLhsl(45, 68%, 64%)
HSVhsv(45, 55%, 89%)
CMYKcmyk(0%, 13.7%, 54.9%, 11.4%)
CIE-LABlab(79.71, -0.26, 50.19)
CIE-LCHlch(79.71, 50.19, 90.29°)
OKLaboklab(82.5% -0.0026 0.118)
OKLCHoklch(82.5% 0.118 91.3)
XYZxyz(53.2796, 56.1609, 20.6015)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C366 #6685E2
analogous
#E28566 #E2C366 #C3E266
triadic
#E2C366 #66E2C3 #C366E2
tetradic
#E2C366 #66E285 #6685E2 #E266C3
square
#E2C366 #66E285 #6685E2 #E266C3
split-complementary
#E2C366 #66C3E2 #8566E2
monochromatic
#AD8A21 #D8AF33 #E2C366 #ECD799 #F6EBCD

Accessibility & contrast

On white

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

On black

12.23
#E2C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C366
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C366#FFFFFF#000000##000000
##E2C3661.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C05D
Deuteranopia (green-blind)
#DCC96A
Tritanopia (blue-blind)
#F2B6AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c366;
/* rgb */ color: rgb(226, 195, 102);
/* oklch */ color: oklch(82.5% 0.118 91.3);
Tailwind
colors: {
  custom: {
    50: '#eed494',
    500: '#e2c366',
    950: '#000000',
  },
}
SCSS
$custom: #e2c366;
$custom-light: #eed494;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c366",
  "rgb": {
    "r": 226,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 45,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82504,
    "c": 0.11806,
    "h": 91.3
  },
  "luminance": 0.56158
}

Semantic roles & 50–950 ramp

primary
#E2C366
secondary
#3E5AAE
accent
#44D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C366

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

Preview Lab → · Contrast checker → · Palette generator →

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