#E4C662#E4C662

#E4C662 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.2% C 0.124 H 92.8°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#E4C662
RGBrgb(228, 198, 98)
HSLhsl(46, 71%, 64%)
HSVhsv(46, 57%, 89%)
CMYKcmyk(0%, 13.2%, 57%, 10.6%)
CIE-LABlab(80.61, -1.29, 53.19)
CIE-LCHlch(80.61, 53.20, 91.39°)
OKLaboklab(83.25% -0.0062 0.1241)
OKLCHoklch(83.25% 0.124 92.8)
XYZxyz(54.3959, 57.7666, 19.8378)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C662 #6280E4
analogous
#E48562 #E4C662 #C1E462
triadic
#E4C662 #62E4C6 #C662E4
tetradic
#E4C662 #62E485 #6280E4 #E462C1
square
#E4C662 #62E485 #6280E4 #E462C1
split-complementary
#E4C662 #62C1E4 #8562E4
monochromatic
#AE8D1E #DBB32E #E4C662 #EDD996 #F6ECCA

Accessibility & contrast

On white

1.67
#E4C662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#E4C662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C662
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C662#FFFFFF#000000##000000
##E4C6621.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C358
Deuteranopia (green-blind)
#E0CC66
Tritanopia (blue-blind)
#F5B9AF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c662;
/* rgb */ color: rgb(228, 198, 98);
/* oklch */ color: oklch(83.2% 0.124 92.8);
Tailwind
colors: {
  custom: {
    50: '#efd791',
    500: '#e4c662',
    950: '#000000',
  },
}
SCSS
$custom: #e4c662;
$custom-light: #efd791;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c662",
  "rgb": {
    "r": 228,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 46.154,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83247,
    "c": 0.12421,
    "h": 92.8
  },
  "luminance": 0.57764
}

Semantic roles & 50–950 ramp

primary
#E4C662
secondary
#3B56AF
accent
#3FD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4C662

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

Preview Lab → · Contrast checker → · Palette generator →

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