#E7CA55#E7CA55

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

Color values

HEX#E7CA55
RGBrgb(231, 202, 85)
HSLhsl(48, 75%, 62%)
HSVhsv(48, 63%, 91%)
CMYKcmyk(0%, 12.6%, 63.2%, 9.4%)
CIE-LABlab(81.78, -2.99, 60.43)
CIE-LCHlch(81.78, 60.50, 92.84°)
OKLaboklab(84.19% -0.0128 0.1378)
OKLCHoklch(84.19% 0.138 95.3)
XYZxyz(55.7177, 59.8886, 17.2174)
Luminance0.5989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA55 #5572E7
analogous
#E78155 #E7CA55 #BBE755
triadic
#E7CA55 #55E7CA #CA55E7
tetradic
#E7CA55 #55E781 #5572E7 #E755BB
square
#E7CA55 #55E781 #5572E7 #E755BB
split-complementary
#E7CA55 #55BBE7 #8155E7
monochromatic
#AA8D18 #DFB920 #E7CA55 #EFDB8B #F6EBC0

Accessibility & contrast

On white

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

On black

12.98
#E7CA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA55
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA55#FFFFFF#000000##000000
##E7CA551.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC648
Deuteranopia (green-blind)
#E5CF5B
Tritanopia (blue-blind)
#F8BCB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7ca55;
/* rgb */ color: rgb(231, 202, 85);
/* oklch */ color: oklch(84.2% 0.138 95.3);
Tailwind
colors: {
  custom: {
    50: '#f2d98a',
    500: '#e7ca55',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca55;
$custom-light: #f2d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca55",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 48.082,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84194,
    "c": 0.13843,
    "h": 95.3
  },
  "luminance": 0.59886
}

Semantic roles & 50–950 ramp

primary
#E7CA55
secondary
#354DAB
accent
#36D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7CA55

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

Preview Lab → · Contrast checker → · Palette generator →

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