#E4D062#E4D062

#E4D062 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.3% C 0.132 H 99.1°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#E4D062
RGBrgb(228, 208, 98)
HSLhsl(51, 71%, 64%)
HSVhsv(51, 57%, 89%)
CMYKcmyk(0%, 8.8%, 57%, 10.6%)
CIE-LABlab(83.17, -6.42, 56.13)
CIE-LCHlch(83.17, 56.49, 96.53°)
OKLaboklab(85.28% -0.021 0.1304)
OKLCHoklch(85.28% 0.132 99.1)
XYZxyz(56.7575, 62.4899, 20.6250)
Luminance0.6249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D062 #6276E4
analogous
#E48F62 #E4D062 #B7E462
triadic
#E4D062 #62E4D0 #D062E4
tetradic
#E4D062 #62E48F #6276E4 #E462B7
square
#E4D062 #62E48F #6276E4 #E462B7
split-complementary
#E4D062 #62B7E4 #8F62E4
monochromatic
#AE981E #DBC02E #E4D062 #EDE096 #F6EFCA

Accessibility & contrast

On white

1.56
#E4D062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#E4D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D062
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D062#FFFFFF#000000##000000
##E4D0621.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E7D267
Tritanopia (blue-blind)
#F4C3B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4d062;
/* rgb */ color: rgb(228, 208, 98);
/* oklch */ color: oklch(85.3% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#efde92',
    500: '#e4d062',
    950: '#000000',
  },
}
SCSS
$custom: #e4d062;
$custom-light: #efde92;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d062",
  "rgb": {
    "r": 228,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 50.769,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85275,
    "c": 0.13207,
    "h": 99.1
  },
  "luminance": 0.62488
}

Semantic roles & 50–950 ramp

primary
#E4D062
secondary
#3B4DAF
accent
#30D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D062

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

Preview Lab → · Contrast checker → · Palette generator →

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