#E2CA6F#E2CA6F

#E2CA6F is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 84.0% C 0.115 H 95.0°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#E2CA6F
RGBrgb(226, 202, 111)
HSLhsl(47, 66%, 66%)
HSVhsv(47, 51%, 89%)
CMYKcmyk(0%, 10.6%, 50.9%, 11.4%)
CIE-LABlab(81.60, -3.13, 48.11)
CIE-LCHlch(81.60, 48.21, 93.72°)
OKLaboklab(84.03% -0.0099 0.1143)
OKLCHoklch(84.03% 0.115 95)
XYZxyz(55.3557, 59.5598, 23.6162)
Luminance0.5956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA6F #6F87E2
analogous
#E2906F #E2CA6F #C0E26F
triadic
#E2CA6F #6FE2CA #CA6FE2
tetradic
#E2CA6F #6FE290 #6F87E2 #E26FC0
square
#E2CA6F #6FE290 #6F87E2 #E26FC0
split-complementary
#E2CA6F #6FC0E2 #906FE2
monochromatic
#B39524 #D8B73C #E2CA6F #ECDDA2 #F7EFD5

Accessibility & contrast

On white

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

On black

12.91
#E2CA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA6F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA6F#FFFFFF#000000##000000
##E2CA6F1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC667
Deuteranopia (green-blind)
#E1CE73
Tritanopia (blue-blind)
#F1BEB5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2ca6f;
/* rgb */ color: rgb(226, 202, 111);
/* oklch */ color: oklch(84.0% 0.115 95.0);
Tailwind
colors: {
  custom: {
    50: '#edd99a',
    500: '#e2ca6f',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca6f;
$custom-light: #edd99a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca6f",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 111
  },
  "hsl": {
    "h": 47.478,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.84033,
    "c": 0.11473,
    "h": 95
  },
  "luminance": 0.59558
}

Semantic roles & 50–950 ramp

primary
#E2CA6F
secondary
#4259B4
accent
#3DCE17
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2CA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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