#E7CA70#E7CA70

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

Color values

HEX#E7CA70
RGBrgb(231, 202, 112)
HSLhsl(45, 71%, 67%)
HSVhsv(45, 52%, 91%)
CMYKcmyk(0%, 12.6%, 51.5%, 9.4%)
CIE-LABlab(82.06, -1.00, 48.28)
CIE-LCHlch(82.06, 48.29, 91.19°)
OKLaboklab(84.51% -0.0039 0.1147)
OKLCHoklch(84.51% 0.115 92)
XYZxyz(57.0022, 60.4024, 23.9824)
Luminance0.6040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA70 #708DE7
analogous
#E78F70 #E7CA70 #C9E770
triadic
#E7CA70 #70E7CA #CA70E7
tetradic
#E7CA70 #70E78F #708DE7 #E770C9
square
#E7CA70 #70E78F #708DE7 #E770C9
split-complementary
#E7CA70 #70C9E7 #8F70E7
monochromatic
#BD9720 #DEB73C #E7CA70 #F0DDA4 #F9F1D9

Accessibility & contrast

On white

1.61
#E7CA70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CA70#FFFFFF#000000##000000
##E7CA701.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7ca70;
/* rgb */ color: rgb(231, 202, 112);
/* oklch */ color: oklch(84.5% 0.115 92.0);
Tailwind
colors: {
  custom: {
    50: '#f1d99b',
    500: '#e7ca70',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca70;
$custom-light: #f1d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca70",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 112
  },
  "hsl": {
    "h": 45.378,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84505,
    "c": 0.11475,
    "h": 92
  },
  "luminance": 0.604
}

Semantic roles & 50–950 ramp

primary
#E7CA70
secondary
#3F5DBC
accent
#41D312
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7CA70

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

Preview Lab → · Contrast checker → · Palette generator →

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