#E7D282#E7D282

#E7D282 is a very light, moderate yellow. Relative luminance 0.647; OKLCH L 86.4% C 0.103 H 95.1°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#E7D282
RGBrgb(231, 210, 130)
HSLhsl(48, 68%, 71%)
HSVhsv(48, 44%, 91%)
CMYKcmyk(0%, 9.1%, 43.7%, 9.4%)
CIE-LABlab(84.33, -3.45, 42.20)
CIE-LCHlch(84.33, 42.34, 94.67°)
OKLaboklab(86.37% -0.0092 0.1024)
OKLCHoklch(86.37% 0.103 95.1)
XYZxyz(60.0324, 64.6960, 30.4401)
Luminance0.6469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D282 #8297E7
analogous
#E79F82 #E7D282 #C9E782
triadic
#E7D282 #82E7D2 #D282E7
tetradic
#E7D282 #82E79F #8297E7 #E782C9
square
#E7D282 #82E79F #8297E7 #E782C9
split-complementary
#E7D282 #82C9E7 #9F82E7
monochromatic
#C8A726 #DDC04F #E7D282 #F1E4B5 #FAF6E5

Accessibility & contrast

On white

1.51
#E7D282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#E7D282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D282
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D282#FFFFFF#000000##000000
##E7D2821.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d282;
/* rgb */ color: rgb(231, 210, 130);
/* oklch */ color: oklch(86.4% 0.103 95.1);
Tailwind
colors: {
  custom: {
    50: '#f0dfa7',
    500: '#e7d282',
    950: '#000000',
  },
}
SCSS
$custom: #e7d282;
$custom-light: #f0dfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d282",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 130
  },
  "hsl": {
    "h": 47.525,
    "s": 67.785,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86374,
    "c": 0.1028,
    "h": 95.1
  },
  "luminance": 0.64694
}

Semantic roles & 50–950 ramp

primary
#E7D282
secondary
#4D65C0
accent
#3CD016
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D282

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

Preview Lab → · Contrast checker → · Palette generator →

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