#E6C762#E6C762

#E6C762 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.6% C 0.125 H 92.5°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#E6C762
RGBrgb(230, 199, 98)
HSLhsl(46, 73%, 64%)
HSVhsv(46, 57%, 90%)
CMYKcmyk(0%, 13.5%, 57.4%, 9.8%)
CIE-LABlab(81.05, -0.98, 53.74)
CIE-LCHlch(81.05, 53.75, 91.05°)
OKLaboklab(83.64% -0.0054 0.1252)
OKLCHoklch(83.64% 0.125 92.5)
XYZxyz(55.2635, 58.5544, 19.9441)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C762 #6281E6
analogous
#E68562 #E6C762 #C3E662
triadic
#E6C762 #62E6C7 #C762E6
tetradic
#E6C762 #62E685 #6281E6 #E662C3
square
#E6C762 #62E685 #6281E6 #E662C3
split-complementary
#E6C762 #62C3E6 #8562E6
monochromatic
#B18E1C #DEB42D #E6C762 #EEDA97 #F7EDCC

Accessibility & contrast

On white

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

On black

12.71
#E6C762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C762
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C762#FFFFFF#000000##000000
##E6C7621.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C458
Deuteranopia (green-blind)
#E1CD66
Tritanopia (blue-blind)
#F7B9B0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e6c762;
/* rgb */ color: rgb(230, 199, 98);
/* oklch */ color: oklch(83.6% 0.125 92.5);
Tailwind
colors: {
  custom: {
    50: '#f1d792',
    500: '#e6c762',
    950: '#000000',
  },
}
SCSS
$custom: #e6c762;
$custom-light: #f1d792;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c762",
  "rgb": {
    "r": 230,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 45.909,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83635,
    "c": 0.12533,
    "h": 92.5
  },
  "luminance": 0.58552
}

Semantic roles & 50–950 ramp

primary
#E6C762
secondary
#3A56B2
accent
#3FD511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E6C762

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

Preview Lab → · Contrast checker → · Palette generator →

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