#E7D875#E7D875

#E7D875 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.4% C 0.122 H 100.8°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#E7D875
RGBrgb(231, 216, 117)
HSLhsl(52, 70%, 68%)
HSVhsv(52, 49%, 91%)
CMYKcmyk(0%, 6.5%, 49.4%, 9.4%)
CIE-LABlab(85.70, -7.72, 50.26)
CIE-LCHlch(85.70, 50.85, 98.74°)
OKLaboklab(87.41% -0.0228 0.1195)
OKLCHoklch(87.41% 0.122 100.8)
XYZxyz(60.7235, 67.3871, 26.6345)
Luminance0.6738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D875 #7584E7
analogous
#E79F75 #E7D875 #BDE775
triadic
#E7D875 #75E7D8 #D875E7
tetradic
#E7D875 #75E79F #7584E7 #E775BD
square
#E7D875 #75E79F #7584E7 #E775BD
split-complementary
#E7D875 #75BDE7 #9F75E7
monochromatic
#C0AB21 #DEC941 #E7D875 #F0E7A9 #F9F5DD

Accessibility & contrast

On white

1.45
#E7D875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#E7D875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D875
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D875#FFFFFF#000000##000000
##E7D8751.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D36C
Deuteranopia (green-blind)
#EDD979
Tritanopia (blue-blind)
#F6CCC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d875;
/* rgb */ color: rgb(231, 216, 117);
/* oklch */ color: oklch(87.4% 0.122 100.8);
Tailwind
colors: {
  custom: {
    50: '#f1e39f',
    500: '#e7d875',
    950: '#000000',
  },
}
SCSS
$custom: #e7d875;
$custom-light: #f1e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d875",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 52.105,
    "s": 70.37,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87406,
    "c": 0.12162,
    "h": 100.8
  },
  "luminance": 0.67385
}

Semantic roles & 50–950 ramp

primary
#E7D875
secondary
#4252BF
accent
#2CD213
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D875

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

Preview Lab → · Contrast checker → · Palette generator →

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