#E7CA6D#E7CA6D

#E7CA6D is a very light, moderate yellow. Relative luminance 0.603; OKLCH L 84.5% C 0.118 H 92.4°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#E7CA6D
RGBrgb(231, 202, 109)
HSLhsl(46, 72%, 67%)
HSVhsv(46, 53%, 91%)
CMYKcmyk(0%, 12.6%, 52.8%, 9.4%)
CIE-LABlab(82.02, -1.26, 49.69)
CIE-LCHlch(82.02, 49.70, 91.45°)
OKLaboklab(84.47% -0.005 0.1175)
OKLCHoklch(84.47% 0.118 92.4)
XYZxyz(56.8380, 60.3367, 23.1173)
Luminance0.6033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA6D #6D8AE7
analogous
#E78D6D #E7CA6D #C7E76D
triadic
#E7CA6D #6DE7CA #CA6DE7
tetradic
#E7CA6D #6DE78D #6D8AE7 #E76DC7
square
#E7CA6D #6DE78D #6D8AE7 #E76DC7
split-complementary
#E7CA6D #6DC7E7 #8D6DE7
monochromatic
#BB961F #DEB738 #E7CA6D #F0DDA2 #F8F0D6

Accessibility & contrast

On white

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

On black

13.07
#E7CA6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA6D
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA6D#FFFFFF#000000##000000
##E7CA6D1.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC765
Deuteranopia (green-blind)
#E3D071
Tritanopia (blue-blind)
#F7BDB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e7ca6d;
/* rgb */ color: rgb(231, 202, 109);
/* oklch */ color: oklch(84.5% 0.118 92.4);
Tailwind
colors: {
  custom: {
    50: '#f1d999',
    500: '#e7ca6d',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca6d;
$custom-light: #f1d999;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca6d",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 109
  },
  "hsl": {
    "h": 45.738,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84465,
    "c": 0.11762,
    "h": 92.4
  },
  "luminance": 0.60334
}

Semantic roles & 50–950 ramp

primary
#E7CA6D
secondary
#3E5BBA
accent
#40D412
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7CA6D

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

Preview Lab → · Contrast checker → · Palette generator →

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