#E7CA5E#E7CA5E

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

Color values

HEX#E7CA5E
RGBrgb(231, 202, 94)
HSLhsl(47, 74%, 64%)
HSVhsv(47, 59%, 91%)
CMYKcmyk(0%, 12.6%, 59.3%, 9.4%)
CIE-LABlab(81.86, -2.40, 56.53)
CIE-LCHlch(81.86, 56.58, 92.43°)
OKLaboklab(84.29% -0.01 0.1307)
OKLCHoklch(84.29% 0.131 94.4)
XYZxyz(56.0983, 60.0409, 19.2217)
Luminance0.6004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA5E #5E7BE7
analogous
#E7855E #E7CA5E #BFE75E
triadic
#E7CA5E #5EE7CA #CA5EE7
tetradic
#E7CA5E #5EE785 #5E7BE7 #E75EBF
square
#E7CA5E #5EE785 #5E7BE7 #E75EBF
split-complementary
#E7CA5E #5EBFE7 #855EE7
monochromatic
#B0911A #DFB829 #E7CA5E #EFDC93 #F7EDC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CA5E#FFFFFF#000000##000000
##E7CA5E1.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)
#DDC653
Deuteranopia (green-blind)
#E4CF63
Tritanopia (blue-blind)
#F8BCB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7ca5e;
/* rgb */ color: rgb(231, 202, 94);
/* oklch */ color: oklch(84.3% 0.131 94.4);
Tailwind
colors: {
  custom: {
    50: '#f2d98f',
    500: '#e7ca5e',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca5e;
$custom-light: #f2d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca5e",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 94
  },
  "hsl": {
    "h": 47.299,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84286,
    "c": 0.1311,
    "h": 94.4
  },
  "luminance": 0.60038
}

Semantic roles & 50–950 ramp

primary
#E7CA5E
secondary
#3852B1
accent
#39D60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7CA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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