#E4D282#E4D282

#E4D282 is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.1% C 0.102 H 97.0°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#E4D282
RGBrgb(228, 210, 130)
HSLhsl(49, 64%, 70%)
HSVhsv(49, 43%, 89%)
CMYKcmyk(0%, 7.9%, 43%, 10.6%)
CIE-LABlab(84.07, -4.64, 41.82)
CIE-LCHlch(84.07, 42.08, 96.33°)
OKLaboklab(86.11% -0.0125 0.1016)
OKLCHoklch(86.11% 0.102 97)
XYZxyz(59.0722, 64.2009, 30.3951)
Luminance0.6420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D282 #8294E4
analogous
#E4A182 #E4D282 #C5E482
triadic
#E4D282 #82E4D2 #D282E4
tetradic
#E4D282 #82E4A1 #8294E4 #E482C5
square
#E4D282 #82E4A1 #8294E4 #E482C5
split-complementary
#E4D282 #82C5E4 #A182E4
monochromatic
#C2A62A #D9C050 #E4D282 #EFE4B4 #FAF6E6

Accessibility & contrast

On white

1.52
#E4D282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#E4D282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D282
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D282#FFFFFF#000000##000000
##E4D2821.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE7C
Deuteranopia (green-blind)
#E6D485
Tritanopia (blue-blind)
#F2C7BE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e4d282;
/* rgb */ color: rgb(228, 210, 130);
/* oklch */ color: oklch(86.1% 0.102 97.0);
Tailwind
colors: {
  custom: {
    50: '#eedfa7',
    500: '#e4d282',
    950: '#000000',
  },
}
SCSS
$custom: #e4d282;
$custom-light: #eedfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d282",
  "rgb": {
    "r": 228,
    "g": 210,
    "b": 130
  },
  "hsl": {
    "h": 48.98,
    "s": 64.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86109,
    "c": 0.10233,
    "h": 97
  },
  "luminance": 0.64199
}

Semantic roles & 50–950 ramp

primary
#E4D282
secondary
#4E62BC
accent
#3ACC19
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D282

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

Preview Lab → · Contrast checker → · Palette generator →

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