#E7CA5D#E7CA5D

#E7CA5D is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.3% C 0.132 H 94.5°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#E7CA5D
RGBrgb(231, 202, 93)
HSLhsl(47, 74%, 64%)
HSVhsv(47, 60%, 91%)
CMYKcmyk(0%, 12.6%, 59.7%, 9.4%)
CIE-LABlab(81.85, -2.47, 56.97)
CIE-LCHlch(81.85, 57.03, 92.48°)
OKLaboklab(84.28% -0.0103 0.1315)
OKLCHoklch(84.28% 0.132 94.5)
XYZxyz(56.0537, 60.0230, 18.9869)
Luminance0.6002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA5D #5D7AE7
analogous
#E7855D #E7CA5D #BFE75D
triadic
#E7CA5D #5DE7CA #CA5DE7
tetradic
#E7CA5D #5DE785 #5D7AE7 #E75DBF
square
#E7CA5D #5DE785 #5D7AE7 #E75DBF
split-complementary
#E7CA5D #5DBFE7 #855DE7
monochromatic
#B0901A #DFB928 #E7CA5D #EFDB92 #F7EDC8

Accessibility & contrast

On white

1.61
#E7CA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#E7CA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA5D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA5D#FFFFFF#000000##000000
##E7CA5D1.001.6113.0013.00
#FFFFFF1.611.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC652
Deuteranopia (green-blind)
#E4CF62
Tritanopia (blue-blind)
#F8BCB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7ca5d;
/* rgb */ color: rgb(231, 202, 93);
/* oklch */ color: oklch(84.3% 0.132 94.5);
Tailwind
colors: {
  custom: {
    50: '#f2d98f',
    500: '#e7ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca5d;
$custom-light: #f2d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca5d",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 47.391,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84276,
    "c": 0.13195,
    "h": 94.5
  },
  "luminance": 0.6002
}

Semantic roles & 50–950 ramp

primary
#E7CA5D
secondary
#3851B0
accent
#39D60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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