#E4C762#E4C762

#E4C762 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.4% C 0.125 H 93.5°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#E4C762
RGBrgb(228, 199, 98)
HSLhsl(47, 71%, 64%)
HSVhsv(47, 57%, 89%)
CMYKcmyk(0%, 12.7%, 57%, 10.6%)
CIE-LABlab(80.86, -1.81, 53.48)
CIE-LCHlch(80.86, 53.51, 91.94°)
OKLaboklab(83.45% -0.0077 0.1247)
OKLCHoklch(83.45% 0.125 93.5)
XYZxyz(54.6252, 58.2253, 19.9142)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C762 #627FE4
analogous
#E48662 #E4C762 #C0E462
triadic
#E4C762 #62E4C7 #C762E4
tetradic
#E4C762 #62E486 #627FE4 #E462C0
square
#E4C762 #62E486 #627FE4 #E462C0
split-complementary
#E4C762 #62C0E4 #8662E4
monochromatic
#AE8E1E #DBB42E #E4C762 #EDDA96 #F6ECCA

Accessibility & contrast

On white

1.66
#E4C762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#E4C762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C762
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C762#FFFFFF#000000##000000
##E4C7621.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4c762;
/* rgb */ color: rgb(228, 199, 98);
/* oklch */ color: oklch(83.4% 0.125 93.5);
Tailwind
colors: {
  custom: {
    50: '#efd792',
    500: '#e4c762',
    950: '#000000',
  },
}
SCSS
$custom: #e4c762;
$custom-light: #efd792;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c762",
  "rgb": {
    "r": 228,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 46.615,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83448,
    "c": 0.12494,
    "h": 93.5
  },
  "luminance": 0.58223
}

Semantic roles & 50–950 ramp

primary
#E4C762
secondary
#3B55AF
accent
#3ED313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4C762

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

Preview Lab → · Contrast checker → · Palette generator →

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