#E7CA5C#E7CA5C

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

Color values

HEX#E7CA5C
RGBrgb(231, 202, 92)
HSLhsl(47, 74%, 63%)
HSVhsv(47, 60%, 91%)
CMYKcmyk(0%, 12.6%, 60.2%, 9.4%)
CIE-LABlab(81.84, -2.54, 57.41)
CIE-LCHlch(81.84, 57.47, 92.53°)
OKLaboklab(84.27% -0.0107 0.1324)
OKLCHoklch(84.27% 0.133 94.6)
XYZxyz(56.0097, 60.0054, 18.7551)
Luminance0.6000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA5C #5C79E7
analogous
#E7845C #E7CA5C #BEE75C
triadic
#E7CA5C #5CE7CA #CA5CE7
tetradic
#E7CA5C #5CE784 #5C79E7 #E75CBE
square
#E7CA5C #5CE784 #5C79E7 #E75CBE
split-complementary
#E7CA5C #5CBEE7 #845CE7
monochromatic
#AF901A #DFB927 #E7CA5C #EFDB91 #F7EDC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CA5C#FFFFFF#000000##000000
##E7CA5C1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7ca5c;
/* rgb */ color: rgb(231, 202, 92);
/* oklch */ color: oklch(84.3% 0.133 94.6);
Tailwind
colors: {
  custom: {
    50: '#f2d98e',
    500: '#e7ca5c',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca5c;
$custom-light: #f2d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca5c",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 47.482,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84265,
    "c": 0.13278,
    "h": 94.6
  },
  "luminance": 0.60003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7CA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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