#E7CA59#E7CA59

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

Color values

HEX#E7CA59
RGBrgb(231, 202, 89)
HSLhsl(48, 75%, 63%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 12.6%, 61.5%, 9.4%)
CIE-LABlab(81.81, -2.74, 58.72)
CIE-LCHlch(81.81, 58.78, 92.67°)
OKLaboklab(84.23% -0.0116 0.1348)
OKLCHoklch(84.23% 0.135 94.9)
XYZxyz(55.8812, 59.9540, 18.0781)
Luminance0.5995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA59 #5976E7
analogous
#E78359 #E7CA59 #BDE759
triadic
#E7CA59 #59E7CA #CA59E7
tetradic
#E7CA59 #59E783 #5976E7 #E759BD
square
#E7CA59 #59E783 #5976E7 #E759BD
split-complementary
#E7CA59 #59BDE7 #8359E7
monochromatic
#AD8E19 #DFB924 #E7CA59 #EFDB8E #F6ECC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CA59#FFFFFF#000000##000000
##E7CA591.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)
#DDC64D
Deuteranopia (green-blind)
#E4CF5E
Tritanopia (blue-blind)
#F8BCB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7ca59;
/* rgb */ color: rgb(231, 202, 89);
/* oklch */ color: oklch(84.2% 0.135 94.9);
Tailwind
colors: {
  custom: {
    50: '#f2d98c',
    500: '#e7ca59',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca59;
$custom-light: #f2d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca59",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 47.746,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84234,
    "c": 0.13525,
    "h": 94.9
  },
  "luminance": 0.59951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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