#E4CD62#E4CD62

#E4CD62 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.7% C 0.130 H 97.3°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#E4CD62
RGBrgb(228, 205, 98)
HSLhsl(49, 71%, 64%)
HSVhsv(49, 57%, 89%)
CMYKcmyk(0%, 10.1%, 57%, 10.6%)
CIE-LABlab(82.40, -4.89, 55.24)
CIE-LCHlch(82.40, 55.46, 95.06°)
OKLaboklab(84.66% -0.0166 0.1285)
OKLCHoklch(84.66% 0.13 97.3)
XYZxyz(56.0330, 61.0409, 20.3835)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD62 #6279E4
analogous
#E48C62 #E4CD62 #BAE462
triadic
#E4CD62 #62E4CD #CD62E4
tetradic
#E4CD62 #62E48C #6279E4 #E462BA
square
#E4CD62 #62E48C #6279E4 #E462BA
split-complementary
#E4CD62 #62BAE4 #8C62E4
monochromatic
#AE941E #DBBC2E #E4CD62 #EDDE96 #F6EECA

Accessibility & contrast

On white

1.59
#E4CD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#E4CD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD62
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD62#FFFFFF#000000##000000
##E4CD621.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC957
Deuteranopia (green-blind)
#E5D067
Tritanopia (blue-blind)
#F4C0B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd62;
/* rgb */ color: rgb(228, 205, 98);
/* oklch */ color: oklch(84.7% 0.130 97.3);
Tailwind
colors: {
  custom: {
    50: '#efdc92',
    500: '#e4cd62',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd62;
$custom-light: #efdc92;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd62",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 49.385,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84663,
    "c": 0.12956,
    "h": 97.3
  },
  "luminance": 0.61038
}

Semantic roles & 50–950 ramp

primary
#E4CD62
secondary
#3B50AF
accent
#35D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4CD62

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

Preview Lab → · Contrast checker → · Palette generator →

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