#E7CA54#E7CA54

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

Color values

HEX#E7CA54
RGBrgb(231, 202, 84)
HSLhsl(48, 75%, 62%)
HSVhsv(48, 64%, 91%)
CMYKcmyk(0%, 12.6%, 63.6%, 9.4%)
CIE-LABlab(81.77, -3.06, 60.85)
CIE-LCHlch(81.77, 60.93, 92.88°)
OKLaboklab(84.19% -0.0131 0.1386)
OKLCHoklch(84.19% 0.139 95.4)
XYZxyz(55.6783, 59.8729, 17.0097)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA54 #5471E7
analogous
#E78154 #E7CA54 #BBE754
triadic
#E7CA54 #54E7CA #CA54E7
tetradic
#E7CA54 #54E781 #5471E7 #E754BB
square
#E7CA54 #54E781 #5471E7 #E754BB
split-complementary
#E7CA54 #54BBE7 #8154E7
monochromatic
#A98C18 #DFB91F #E7CA54 #EFDB8A #F6EBBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CA54#FFFFFF#000000##000000
##E7CA541.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)
#DDC646
Deuteranopia (green-blind)
#E5CF5A
Tritanopia (blue-blind)
#F8BCB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7ca54;
/* rgb */ color: rgb(231, 202, 84);
/* oklch */ color: oklch(84.2% 0.139 95.4);
Tailwind
colors: {
  custom: {
    50: '#f2d989',
    500: '#e7ca54',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca54;
$custom-light: #f2d989;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca54",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 48.163,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84185,
    "c": 0.13921,
    "h": 95.4
  },
  "luminance": 0.5987
}

Semantic roles & 50–950 ramp

primary
#E7CA54
secondary
#354CAA
accent
#36D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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