#E7CA73#E7CA73

#E7CA73 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.5% C 0.112 H 91.5°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#E7CA73
RGBrgb(231, 202, 115)
HSLhsl(45, 71%, 68%)
HSVhsv(45, 50%, 91%)
CMYKcmyk(0%, 12.6%, 50.2%, 9.4%)
CIE-LABlab(82.09, -0.74, 46.86)
CIE-LCHlch(82.09, 46.87, 90.91°)
OKLaboklab(84.55% -0.0028 0.1118)
OKLCHoklch(84.55% 0.112 91.5)
XYZxyz(57.1721, 60.4704, 24.8768)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA73 #7390E7
analogous
#E79073 #E7CA73 #CAE773
triadic
#E7CA73 #73E7CA #CA73E7
tetradic
#E7CA73 #73E790 #7390E7 #E773CA
square
#E7CA73 #73E790 #7390E7 #E773CA
split-complementary
#E7CA73 #73CAE7 #9073E7
monochromatic
#BF9721 #DEB63F #E7CA73 #F0DEA7 #F9F2DB

Accessibility & contrast

On white

1.60
#E7CA73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#E7CA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA73
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA73#FFFFFF#000000##000000
##E7CA731.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76C
Deuteranopia (green-blind)
#E2D076
Tritanopia (blue-blind)
#F7BEB5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e7ca73;
/* rgb */ color: rgb(231, 202, 115);
/* oklch */ color: oklch(84.5% 0.112 91.5);
Tailwind
colors: {
  custom: {
    50: '#f1d99d',
    500: '#e7ca73',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca73;
$custom-light: #f1d99d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca73",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 115
  },
  "hsl": {
    "h": 45,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84545,
    "c": 0.11183,
    "h": 91.5
  },
  "luminance": 0.60468
}

Semantic roles & 50–950 ramp

primary
#E7CA73
secondary
#4060BE
accent
#43D313
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7CA73

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

Preview Lab → · Contrast checker → · Palette generator →

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