#E2CA6D#E2CA6D

#E2CA6D is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 84.0% C 0.117 H 95.2°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#E2CA6D
RGBrgb(226, 202, 109)
HSLhsl(48, 67%, 66%)
HSVhsv(48, 52%, 89%)
CMYKcmyk(0%, 10.6%, 51.8%, 11.4%)
CIE-LABlab(81.57, -3.30, 49.05)
CIE-LCHlch(81.57, 49.16, 93.85°)
OKLaboklab(84.01% -0.0106 0.1162)
OKLCHoklch(84.01% 0.117 95.2)
XYZxyz(55.2468, 59.5163, 23.0427)
Luminance0.5951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA6D #6D85E2
analogous
#E28F6D #E2CA6D #C0E26D
triadic
#E2CA6D #6DE2CA #CA6DE2
tetradic
#E2CA6D #6DE28F #6D85E2 #E26DC0
square
#E2CA6D #6DE28F #6D85E2 #E26DC0
split-complementary
#E2CA6D #6DC0E2 #8F6DE2
monochromatic
#B19423 #D8B73A #E2CA6D #ECDDA0 #F6EFD3

Accessibility & contrast

On white

1.63
#E2CA6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#E2CA6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA6D
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA6D#FFFFFF#000000##000000
##E2CA6D1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC665
Deuteranopia (green-blind)
#E1CE71
Tritanopia (blue-blind)
#F1BEB4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2ca6d;
/* rgb */ color: rgb(226, 202, 109);
/* oklch */ color: oklch(84.0% 0.117 95.2);
Tailwind
colors: {
  custom: {
    50: '#edd999',
    500: '#e2ca6d',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca6d;
$custom-light: #edd999;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca6d",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 109
  },
  "hsl": {
    "h": 47.692,
    "s": 66.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84007,
    "c": 0.11667,
    "h": 95.2
  },
  "luminance": 0.59514
}

Semantic roles & 50–950 ramp

primary
#E2CA6D
secondary
#4158B3
accent
#3CCF17
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2CA6D

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

Preview Lab → · Contrast checker → · Palette generator →

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