#E7CA71#E7CA71

#E7CA71 is a very light, moderate yellow. Relative luminance 0.604; OKLCH L 84.5% C 0.114 H 91.8°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#E7CA71
RGBrgb(231, 202, 113)
HSLhsl(45, 71%, 67%)
HSVhsv(45, 51%, 91%)
CMYKcmyk(0%, 12.6%, 51.1%, 9.4%)
CIE-LABlab(82.07, -0.92, 47.81)
CIE-LCHlch(82.07, 47.82, 91.10°)
OKLaboklab(84.52% -0.0036 0.1137)
OKLCHoklch(84.52% 0.114 91.8)
XYZxyz(57.0582, 60.4248, 24.2773)
Luminance0.6042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA71 #718EE7
analogous
#E78F71 #E7CA71 #C9E771
triadic
#E7CA71 #71E7CA #CA71E7
tetradic
#E7CA71 #71E78F #718EE7 #E771C9
square
#E7CA71 #71E78F #718EE7 #E771C9
split-complementary
#E7CA71 #71C9E7 #8F71E7
monochromatic
#BE9720 #DEB63D #E7CA71 #F0DEA5 #F9F1DA

Accessibility & contrast

On white

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

On black

13.08
#E7CA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA71
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA71#FFFFFF#000000##000000
##E7CA711.001.6013.0813.08
#FFFFFF1.601.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#E2D074
Tritanopia (blue-blind)
#F7BDB5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e7ca71;
/* rgb */ color: rgb(231, 202, 113);
/* oklch */ color: oklch(84.5% 0.114 91.8);
Tailwind
colors: {
  custom: {
    50: '#f1d99c',
    500: '#e7ca71',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca71;
$custom-light: #f1d99c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca71",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 45.254,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84518,
    "c": 0.11379,
    "h": 91.8
  },
  "luminance": 0.60422
}

Semantic roles & 50–950 ramp

primary
#E7CA71
secondary
#3F5EBD
accent
#42D312
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7CA71

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

Preview Lab → · Contrast checker → · Palette generator →

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