#E2CA6A#E2CA6A

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

Color values

HEX#E2CA6A
RGBrgb(226, 202, 106)
HSLhsl(48, 67%, 65%)
HSVhsv(48, 53%, 89%)
CMYKcmyk(0%, 10.6%, 53.1%, 11.4%)
CIE-LABlab(81.54, -3.55, 50.45)
CIE-LCHlch(81.54, 50.57, 94.03°)
OKLaboklab(83.97% -0.0117 0.119)
OKLCHoklch(83.97% 0.12 95.6)
XYZxyz(55.0881, 59.4528, 22.2067)
Luminance0.5945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA6A #6A82E2
analogous
#E28E6A #E2CA6A #BEE26A
triadic
#E2CA6A #6AE2CA #CA6AE2
tetradic
#E2CA6A #6AE28E #6A82E2 #E26ABE
square
#E2CA6A #6AE28E #6A82E2 #E26ABE
split-complementary
#E2CA6A #6ABEE2 #8E6AE2
monochromatic
#AF9322 #D8B837 #E2CA6A #ECDC9D #F6EED0

Accessibility & contrast

On white

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

On black

12.89
#E2CA6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA6A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA6A#FFFFFF#000000##000000
##E2CA6A1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC661
Deuteranopia (green-blind)
#E1CE6E
Tritanopia (blue-blind)
#F1BDB4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2ca6a;
/* rgb */ color: rgb(226, 202, 106);
/* oklch */ color: oklch(84.0% 0.120 95.6);
Tailwind
colors: {
  custom: {
    50: '#edd997',
    500: '#e2ca6a',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca6a;
$custom-light: #edd997;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca6a",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 106
  },
  "hsl": {
    "h": 48,
    "s": 67.416,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83968,
    "c": 0.11955,
    "h": 95.6
  },
  "luminance": 0.5945
}

Semantic roles & 50–950 ramp

primary
#E2CA6A
secondary
#3F56B1
accent
#3BCF16
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2CA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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