#E7C762#E7C762

#E7C762 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.7% C 0.126 H 91.9°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#E7C762
RGBrgb(231, 199, 98)
HSLhsl(46, 73%, 65%)
HSVhsv(46, 58%, 91%)
CMYKcmyk(0%, 13.9%, 57.6%, 9.4%)
CIE-LABlab(81.14, -0.57, 53.87)
CIE-LCHlch(81.14, 53.87, 90.60°)
OKLaboklab(83.73% -0.0043 0.1255)
OKLCHoklch(83.73% 0.126 91.9)
XYZxyz(55.5854, 58.7204, 19.9592)
Luminance0.5872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C762 #6282E7
analogous
#E78562 #E7C762 #C5E762
triadic
#E7C762 #62E7C7 #C762E7
tetradic
#E7C762 #62E785 #6282E7 #E762C5
square
#E7C762 #62E785 #6282E7 #E762C5
split-complementary
#E7C762 #62C5E7 #8562E7
monochromatic
#B38F1B #DFB42D #E7C762 #EFDA97 #F7EDCC

Accessibility & contrast

On white

1.65
#E7C762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#E7C762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C762
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C762#FFFFFF#000000##000000
##E7C7621.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#E2CD66
Tritanopia (blue-blind)
#F8B9B0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e7c762;
/* rgb */ color: rgb(231, 199, 98);
/* oklch */ color: oklch(83.7% 0.126 91.9);
Tailwind
colors: {
  custom: {
    50: '#f1d792',
    500: '#e7c762',
    950: '#000000',
  },
}
SCSS
$custom: #e7c762;
$custom-light: #f1d792;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c762",
  "rgb": {
    "r": 231,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 45.564,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83728,
    "c": 0.12554,
    "h": 91.9
  },
  "luminance": 0.58718
}

Semantic roles & 50–950 ramp

primary
#E7C762
secondary
#3A57B4
accent
#3FD610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C762

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

Preview Lab → · Contrast checker → · Palette generator →

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