#E7C960#E7C960

#E7C960 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 84.1% C 0.129 H 93.5°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#E7C960
RGBrgb(231, 201, 96)
HSLhsl(47, 74%, 64%)
HSVhsv(47, 58%, 91%)
CMYKcmyk(0%, 13%, 58.4%, 9.4%)
CIE-LABlab(81.63, -1.74, 55.35)
CIE-LCHlch(81.63, 55.38, 91.81°)
OKLaboklab(84.11% -0.0079 0.1284)
OKLCHoklch(84.11% 0.129 93.5)
XYZxyz(55.9553, 59.6095, 19.6225)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C960 #607EE7
analogous
#E78660 #E7C960 #C1E760
triadic
#E7C960 #60E7C9 #C960E7
tetradic
#E7C960 #60E786 #607EE7 #E760C1
square
#E7C960 #60E786 #607EE7 #E760C1
split-complementary
#E7C960 #60C1E7 #8660E7
monochromatic
#B2901B #DFB72B #E7C960 #EFDB95 #F7EDCA

Accessibility & contrast

On white

1.63
#E7C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#E7C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C960
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C960#FFFFFF#000000##000000
##E7C9601.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC655
Deuteranopia (green-blind)
#E3CF65
Tritanopia (blue-blind)
#F8BBB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7c960;
/* rgb */ color: rgb(231, 201, 96);
/* oklch */ color: oklch(84.1% 0.129 93.5);
Tailwind
colors: {
  custom: {
    50: '#f2d990',
    500: '#e7c960',
    950: '#000000',
  },
}
SCSS
$custom: #e7c960;
$custom-light: #f2d990;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c960",
  "rgb": {
    "r": 231,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 46.667,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84107,
    "c": 0.12867,
    "h": 93.5
  },
  "luminance": 0.59607
}

Semantic roles & 50–950 ramp

primary
#E7C960
secondary
#3954B2
accent
#3CD610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C960

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

Preview Lab → · Contrast checker → · Palette generator →

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