#E7CA58#E7CA58

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

Color values

HEX#E7CA58
RGBrgb(231, 202, 88)
HSLhsl(48, 75%, 63%)
HSVhsv(48, 62%, 91%)
CMYKcmyk(0%, 12.6%, 61.9%, 9.4%)
CIE-LABlab(81.80, -2.80, 59.15)
CIE-LCHlch(81.80, 59.22, 92.71°)
OKLaboklab(84.22% -0.0119 0.1355)
OKLCHoklch(84.22% 0.136 95)
XYZxyz(55.8395, 59.9373, 17.8584)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA58 #5875E7
analogous
#E78258 #E7CA58 #BDE758
triadic
#E7CA58 #58E7CA #CA58E7
tetradic
#E7CA58 #58E782 #5875E7 #E758BD
square
#E7CA58 #58E782 #5875E7 #E758BD
split-complementary
#E7CA58 #58BDE7 #8258E7
monochromatic
#AC8E19 #DFB922 #E7CA58 #EFDB8E #F6ECC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CA58#FFFFFF#000000##000000
##E7CA581.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)
#DDC64B
Deuteranopia (green-blind)
#E4CF5D
Tritanopia (blue-blind)
#F8BCB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7ca58;
/* rgb */ color: rgb(231, 202, 88);
/* oklch */ color: oklch(84.2% 0.136 95.0);
Tailwind
colors: {
  custom: {
    50: '#f2d98b',
    500: '#e7ca58',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca58;
$custom-light: #f2d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca58",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 47.832,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84224,
    "c": 0.13605,
    "h": 95
  },
  "luminance": 0.59935
}

Semantic roles & 50–950 ramp

primary
#E7CA58
secondary
#364EAD
accent
#37D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7CA58

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

Preview Lab → · Contrast checker → · Palette generator →

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