#E4C562#E4C562

#E4C562 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 83.0% C 0.124 H 92.2°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#E4C562
RGBrgb(228, 197, 98)
HSLhsl(46, 71%, 64%)
HSVhsv(46, 57%, 89%)
CMYKcmyk(0%, 13.6%, 57%, 10.6%)
CIE-LABlab(80.35, -0.78, 52.89)
CIE-LCHlch(80.35, 52.90, 90.84°)
OKLaboklab(83.05% -0.0047 0.1234)
OKLCHoklch(83.05% 0.124 92.2)
XYZxyz(54.1680, 57.3110, 19.7618)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C562 #6281E4
analogous
#E48462 #E4C562 #C2E462
triadic
#E4C562 #62E4C5 #C562E4
tetradic
#E4C562 #62E484 #6281E4 #E462C2
square
#E4C562 #62E484 #6281E4 #E462C2
split-complementary
#E4C562 #62C2E4 #8462E4
monochromatic
#AE8B1E #DBB22E #E4C562 #EDD896 #F6ECCA

Accessibility & contrast

On white

1.69
#E4C562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#E4C562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C562
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C562#FFFFFF#000000##000000
##E4C5621.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C258
Deuteranopia (green-blind)
#DFCB66
Tritanopia (blue-blind)
#F5B8AF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e4c562;
/* rgb */ color: rgb(228, 197, 98);
/* oklch */ color: oklch(83.0% 0.124 92.2);
Tailwind
colors: {
  custom: {
    50: '#efd691',
    500: '#e4c562',
    950: '#000000',
  },
}
SCSS
$custom: #e4c562;
$custom-light: #efd691;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c562",
  "rgb": {
    "r": 228,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 45.692,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83046,
    "c": 0.12352,
    "h": 92.2
  },
  "luminance": 0.57308
}

Semantic roles & 50–950 ramp

primary
#E4C562
secondary
#3B57AF
accent
#41D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4C562

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

Preview Lab → · Contrast checker → · Palette generator →

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