#E5CA5F#E5CA5F

#E5CA5F is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.1% C 0.130 H 95.3°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#E5CA5F
RGBrgb(229, 202, 95)
HSLhsl(48, 72%, 64%)
HSVhsv(48, 59%, 90%)
CMYKcmyk(0%, 11.8%, 58.5%, 10.2%)
CIE-LABlab(81.69, -3.16, 55.83)
CIE-LCHlch(81.69, 55.92, 93.24°)
OKLaboklab(84.11% -0.012 0.1294)
OKLCHoklch(84.11% 0.13 95.3)
XYZxyz(55.5015, 59.7279, 19.4294)
Luminance0.5972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CA5F #5F7AE5
analogous
#E5875F #E5CA5F #BDE55F
triadic
#E5CA5F #5FE5CA #CA5FE5
tetradic
#E5CA5F #5FE587 #5F7AE5 #E55FBD
square
#E5CA5F #5FE587 #5F7AE5 #E55FBD
split-complementary
#E5CA5F #5FBDE5 #875FE5
monochromatic
#AD901C #DCB92A #E5CA5F #EEDB94 #F6EDC8

Accessibility & contrast

On white

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

On black

12.94
#E5CA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CA5F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CA5F#FFFFFF#000000##000000
##E5CA5F1.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5ca5f;
/* rgb */ color: rgb(229, 202, 95);
/* oklch */ color: oklch(84.1% 0.130 95.3);
Tailwind
colors: {
  custom: {
    50: '#f0d990',
    500: '#e5ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #e5ca5f;
$custom-light: #f0d990;
$custom-dark: #000000;
JSON
{
  "hex": "#e5ca5f",
  "rgb": {
    "r": 229,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 47.91,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84112,
    "c": 0.12994,
    "h": 95.3
  },
  "luminance": 0.59725
}

Semantic roles & 50–950 ramp

primary
#E5CA5F
secondary
#3A51AF
accent
#39D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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