#E7CA5A#E7CA5A

#E7CA5A is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.2% C 0.134 H 94.8°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#E7CA5A
RGBrgb(231, 202, 90)
HSLhsl(48, 75%, 63%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 12.6%, 61%, 9.4%)
CIE-LABlab(81.82, -2.67, 58.29)
CIE-LCHlch(81.82, 58.35, 92.63°)
OKLaboklab(84.24% -0.0113 0.134)
OKLCHoklch(84.24% 0.134 94.8)
XYZxyz(55.9234, 59.9709, 18.3008)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA5A #5A77E7
analogous
#E7845A #E7CA5A #BDE75A
triadic
#E7CA5A #5AE7CA #CA5AE7
tetradic
#E7CA5A #5AE784 #5A77E7 #E75ABD
square
#E7CA5A #5AE784 #5A77E7 #E75ABD
split-complementary
#E7CA5A #5ABDE7 #845AE7
monochromatic
#AD8F19 #DFB925 #E7CA5A #EFDB8F #F7ECC5

Accessibility & contrast

On white

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

On black

12.99
#E7CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA5A
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA5A#FFFFFF#000000##000000
##E7CA5A1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7ca5a;
/* rgb */ color: rgb(231, 202, 90);
/* oklch */ color: oklch(84.2% 0.134 94.8);
Tailwind
colors: {
  custom: {
    50: '#f2d98d',
    500: '#e7ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca5a;
$custom-light: #f2d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca5a",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 47.66,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84244,
    "c": 0.13443,
    "h": 94.8
  },
  "luminance": 0.59968
}

Semantic roles & 50–950 ramp

primary
#E7CA5A
secondary
#374FAE
accent
#38D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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