#E7C962#E7C962

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

Color values

HEX#E7C962
RGBrgb(231, 201, 98)
HSLhsl(46, 73%, 65%)
HSVhsv(46, 58%, 91%)
CMYKcmyk(0%, 13%, 57.6%, 9.4%)
CIE-LABlab(81.65, -1.60, 54.45)
CIE-LCHlch(81.65, 54.47, 91.68°)
OKLaboklab(84.13% -0.0072 0.1267)
OKLCHoklch(84.13% 0.127 93.3)
XYZxyz(56.0486, 59.6468, 20.1136)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C962 #6280E7
analogous
#E78762 #E7C962 #C3E762
triadic
#E7C962 #62E7C9 #C962E7
tetradic
#E7C962 #62E787 #6280E7 #E762C3
square
#E7C962 #62E787 #6280E7 #E762C3
split-complementary
#E7C962 #62C3E7 #8762E7
monochromatic
#B3911B #DFB72D #E7C962 #EFDB97 #F7EECC

Accessibility & contrast

On white

1.62
#E7C962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#E7C962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C962
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C962#FFFFFF#000000##000000
##E7C9621.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7c962;
/* rgb */ color: rgb(231, 201, 98);
/* oklch */ color: oklch(84.1% 0.127 93.3);
Tailwind
colors: {
  custom: {
    50: '#f1d992',
    500: '#e7c962',
    950: '#000000',
  },
}
SCSS
$custom: #e7c962;
$custom-light: #f1d992;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c962",
  "rgb": {
    "r": 231,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 46.466,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8413,
    "c": 0.12694,
    "h": 93.3
  },
  "luminance": 0.59644
}

Semantic roles & 50–950 ramp

primary
#E7C962
secondary
#3A55B4
accent
#3DD610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C962

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

Preview Lab → · Contrast checker → · Palette generator →

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