#E7CA5F#E7CA5F

#E7CA5F is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.3% C 0.130 H 94.3°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#E7CA5F
RGBrgb(231, 202, 95)
HSLhsl(47, 74%, 64%)
HSVhsv(47, 59%, 91%)
CMYKcmyk(0%, 12.6%, 58.9%, 9.4%)
CIE-LABlab(81.87, -2.33, 56.09)
CIE-LCHlch(81.87, 56.13, 92.38°)
OKLaboklab(84.3% -0.0097 0.1299)
OKLCHoklch(84.3% 0.13 94.3)
XYZxyz(56.1435, 60.0589, 19.4595)
Luminance0.6006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA5F #5F7CE7
analogous
#E7865F #E7CA5F #C0E75F
triadic
#E7CA5F #5FE7CA #CA5FE7
tetradic
#E7CA5F #5FE786 #5F7CE7 #E75FC0
square
#E7CA5F #5FE786 #5F7CE7 #E75FC0
split-complementary
#E7CA5F #5FC0E7 #865FE7
monochromatic
#B1911B #DFB82A #E7CA5F #EFDC94 #F7EDC9

Accessibility & contrast

On white

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

On black

13.01
#E7CA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA5F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA5F#FFFFFF#000000##000000
##E7CA5F1.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC654
Deuteranopia (green-blind)
#E4CF64
Tritanopia (blue-blind)
#F8BCB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e7ca5f;
/* rgb */ color: rgb(231, 202, 95);
/* oklch */ color: oklch(84.3% 0.130 94.3);
Tailwind
colors: {
  custom: {
    50: '#f2d990',
    500: '#e7ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca5f;
$custom-light: #f2d990;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca5f",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 47.206,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84297,
    "c": 0.13025,
    "h": 94.3
  },
  "luminance": 0.60056
}

Semantic roles & 50–950 ramp

primary
#E7CA5F
secondary
#3952B2
accent
#3AD60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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