#E6CA5F#E6CA5F

#E6CA5F is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.2% C 0.130 H 94.8°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#E6CA5F
RGBrgb(230, 202, 95)
HSLhsl(48, 73%, 64%)
HSVhsv(48, 59%, 90%)
CMYKcmyk(0%, 12.2%, 58.7%, 9.8%)
CIE-LABlab(81.78, -2.74, 55.96)
CIE-LCHlch(81.78, 56.03, 92.81°)
OKLaboklab(84.21% -0.0108 0.1296)
OKLCHoklch(84.21% 0.13 94.8)
XYZxyz(55.8216, 59.8929, 19.4444)
Luminance0.5989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CA5F #5F7BE6
analogous
#E6865F #E6CA5F #BEE65F
triadic
#E6CA5F #5FE6CA #CA5FE6
tetradic
#E6CA5F #5FE686 #5F7BE6 #E65FBE
square
#E6CA5F #5FE686 #5F7BE6 #E65FBE
split-complementary
#E6CA5F #5FBEE6 #865FE6
monochromatic
#AF911B #DEB82A #E6CA5F #EEDC94 #F7EDC9

Accessibility & contrast

On white

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

On black

12.98
#E6CA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CA5F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CA5F#FFFFFF#000000##000000
##E6CA5F1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6ca5f;
/* rgb */ color: rgb(230, 202, 95);
/* oklch */ color: oklch(84.2% 0.130 94.8);
Tailwind
colors: {
  custom: {
    50: '#f1d990',
    500: '#e6ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #e6ca5f;
$custom-light: #f1d990;
$custom-dark: #000000;
JSON
{
  "hex": "#e6ca5f",
  "rgb": {
    "r": 230,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 47.556,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84205,
    "c": 0.13009,
    "h": 94.8
  },
  "luminance": 0.5989
}

Semantic roles & 50–950 ramp

primary
#E6CA5F
secondary
#3952B0
accent
#39D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E6CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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