#E7D281#E7D281

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

Color values

HEX#E7D281
RGBrgb(231, 210, 129)
HSLhsl(48, 68%, 71%)
HSVhsv(48, 44%, 91%)
CMYKcmyk(0%, 9.1%, 44.2%, 9.4%)
CIE-LABlab(84.31, -3.55, 42.68)
CIE-LCHlch(84.31, 42.83, 94.75°)
OKLaboklab(86.36% -0.0096 0.1034)
OKLCHoklch(86.36% 0.104 95.3)
XYZxyz(59.9656, 64.6693, 30.0883)
Luminance0.6467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D281 #8196E7
analogous
#E79F81 #E7D281 #C9E781
triadic
#E7D281 #81E7D2 #D281E7
tetradic
#E7D281 #81E79F #8196E7 #E781C9
square
#E7D281 #81E79F #8196E7 #E781C9
split-complementary
#E7D281 #81C9E7 #9F81E7
monochromatic
#C8A626 #DDC04E #E7D281 #F1E4B4 #FAF6E5

Accessibility & contrast

On white

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

On black

13.93
#E7D281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D281
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D281#FFFFFF#000000##000000
##E7D2811.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d281;
/* rgb */ color: rgb(231, 210, 129);
/* oklch */ color: oklch(86.4% 0.104 95.3);
Tailwind
colors: {
  custom: {
    50: '#f0dfa7',
    500: '#e7d281',
    950: '#000000',
  },
}
SCSS
$custom: #e7d281;
$custom-light: #f0dfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d281",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 129
  },
  "hsl": {
    "h": 47.647,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.86358,
    "c": 0.10386,
    "h": 95.3
  },
  "luminance": 0.64667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7D281

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

Preview Lab → · Contrast checker → · Palette generator →

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