#E6CA5B#E6CA5B

#E6CA5B is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.2% C 0.133 H 95.2°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#E6CA5B
RGBrgb(230, 202, 91)
HSLhsl(48, 74%, 63%)
HSVhsv(48, 60%, 90%)
CMYKcmyk(0%, 12.2%, 60.4%, 9.8%)
CIE-LABlab(81.74, -3.02, 57.72)
CIE-LCHlch(81.74, 57.80, 93.00°)
OKLaboklab(84.16% -0.0121 0.1329)
OKLCHoklch(84.16% 0.133 95.2)
XYZxyz(55.6444, 59.8221, 18.5113)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CA5B #5B77E6
analogous
#E6855B #E6CA5B #BCE65B
triadic
#E6CA5B #5BE6CA #CA5BE6
tetradic
#E6CA5B #5BE685 #5B77E6 #E65BBC
square
#E6CA5B #5BE685 #5B77E6 #E65BBC
split-complementary
#E6CA5B #5BBCE6 #855BE6
monochromatic
#AC8F1A #DEB926 #E6CA5B #EEDB90 #F6ECC5

Accessibility & contrast

On white

1.62
#E6CA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#E6CA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CA5B
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CA5B#FFFFFF#000000##000000
##E6CA5B1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64F
Deuteranopia (green-blind)
#E4CF60
Tritanopia (blue-blind)
#F7BCB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e6ca5b;
/* rgb */ color: rgb(230, 202, 91);
/* oklch */ color: oklch(84.2% 0.133 95.2);
Tailwind
colors: {
  custom: {
    50: '#f1d98d',
    500: '#e6ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #e6ca5b;
$custom-light: #f1d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#e6ca5b",
  "rgb": {
    "r": 230,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 47.914,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84162,
    "c": 0.13347,
    "h": 95.2
  },
  "luminance": 0.59819
}

Semantic roles & 50–950 ramp

primary
#E6CA5B
secondary
#384FAE
accent
#38D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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