#E7CA52#E7CA52

#E7CA52 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.2% C 0.141 H 95.6°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#E7CA52
RGBrgb(231, 202, 82)
HSLhsl(48, 76%, 61%)
HSVhsv(48, 65%, 91%)
CMYKcmyk(0%, 12.6%, 64.5%, 9.4%)
CIE-LABlab(81.75, -3.18, 61.69)
CIE-LCHlch(81.75, 61.77, 92.95°)
OKLaboklab(84.17% -0.0137 0.1401)
OKLCHoklch(84.17% 0.141 95.6)
XYZxyz(55.6011, 59.8420, 16.6030)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA52 #526FE7
analogous
#E78052 #E7CA52 #BAE752
triadic
#E7CA52 #52E7CA #CA52E7
tetradic
#E7CA52 #52E780 #526FE7 #E752BA
square
#E7CA52 #52E780 #526FE7 #E752BA
split-complementary
#E7CA52 #52BAE7 #8052E7
monochromatic
#A78B17 #DDB81F #E7CA52 #EEDA88 #F6EBBD

Accessibility & contrast

On white

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

On black

12.97
#E7CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA52
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA52#FFFFFF#000000##000000
##E7CA521.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC644
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#F8BBB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7ca52;
/* rgb */ color: rgb(231, 202, 82);
/* oklch */ color: oklch(84.2% 0.141 95.6);
Tailwind
colors: {
  custom: {
    50: '#f2d988',
    500: '#e7ca52',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca52;
$custom-light: #f2d988;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca52",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 48.322,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84166,
    "c": 0.14074,
    "h": 95.6
  },
  "luminance": 0.59839
}

Semantic roles & 50–950 ramp

primary
#E7CA52
secondary
#344BA9
accent
#35D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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