#E8CA6B#E8CA6B

#E8CA6B is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.5% C 0.120 H 92.2°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#E8CA6B
RGBrgb(232, 202, 107)
HSLhsl(46, 73%, 66%)
HSVhsv(46, 54%, 91%)
CMYKcmyk(0%, 12.9%, 53.9%, 9%)
CIE-LABlab(82.09, -1.01, 50.75)
CIE-LCHlch(82.09, 50.76, 91.14°)
OKLaboklab(84.53% -0.0046 0.1196)
OKLCHoklch(84.53% 0.12 92.2)
XYZxyz(57.0553, 60.4611, 22.5719)
Luminance0.6046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CA6B #6B89E8
analogous
#E88C6B #E8CA6B #C8E86B
triadic
#E8CA6B #6BE8CA #CA6BE8
tetradic
#E8CA6B #6BE88C #6B89E8 #E86BC8
square
#E8CA6B #6BE88C #6B89E8 #E86BC8
split-complementary
#E8CA6B #6BC8E8 #8C6BE8
monochromatic
#BB951D #E0B736 #E8CA6B #F0DDA0 #F8F0D5

Accessibility & contrast

On white

1.60
#E8CA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#E8CA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CA6B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CA6B#FFFFFF#000000##000000
##E8CA6B1.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC762
Deuteranopia (green-blind)
#E3D06F
Tritanopia (blue-blind)
#F8BDB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e8ca6b;
/* rgb */ color: rgb(232, 202, 107);
/* oklch */ color: oklch(84.5% 0.120 92.2);
Tailwind
colors: {
  custom: {
    50: '#f2d998',
    500: '#e8ca6b',
    950: '#000000',
  },
}
SCSS
$custom: #e8ca6b;
$custom-light: #f2d998;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ca6b",
  "rgb": {
    "r": 232,
    "g": 202,
    "b": 107
  },
  "hsl": {
    "h": 45.6,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84532,
    "c": 0.11972,
    "h": 92.2
  },
  "luminance": 0.60458
}

Semantic roles & 50–950 ramp

primary
#E8CA6B
secondary
#3C5BBB
accent
#40D510
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E8CA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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