#E6CA5C#E6CA5C

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

Color values

HEX#E6CA5C
RGBrgb(230, 202, 92)
HSLhsl(48, 73%, 63%)
HSVhsv(48, 60%, 90%)
CMYKcmyk(0%, 12.2%, 60%, 9.8%)
CIE-LABlab(81.75, -2.95, 57.29)
CIE-LCHlch(81.75, 57.36, 92.95°)
OKLaboklab(84.17% -0.0118 0.1321)
OKLCHoklch(84.17% 0.133 95.1)
XYZxyz(55.6878, 59.8394, 18.7400)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CA5C #5C78E6
analogous
#E6855C #E6CA5C #BDE65C
triadic
#E6CA5C #5CE6CA #CA5CE6
tetradic
#E6CA5C #5CE685 #5C78E6 #E65CBD
square
#E6CA5C #5CE685 #5C78E6 #E65CBD
split-complementary
#E6CA5C #5CBDE6 #855CE6
monochromatic
#AD8F1B #DEB927 #E6CA5C #EEDB91 #F6EDC6

Accessibility & contrast

On white

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

On black

12.97
#E6CA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CA5C
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CA5C#FFFFFF#000000##000000
##E6CA5C1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6ca5c;
/* rgb */ color: rgb(230, 202, 92);
/* oklch */ color: oklch(84.2% 0.133 95.1);
Tailwind
colors: {
  custom: {
    50: '#f1d98e',
    500: '#e6ca5c',
    950: '#000000',
  },
}
SCSS
$custom: #e6ca5c;
$custom-light: #f1d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#e6ca5c",
  "rgb": {
    "r": 230,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 47.826,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84172,
    "c": 0.13264,
    "h": 95.1
  },
  "luminance": 0.59837
}

Semantic roles & 50–950 ramp

primary
#E6CA5C
secondary
#3850AE
accent
#38D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E6CA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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