#E7D95B#E7D95B

#E7D95B is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.3% C 0.146 H 103.0°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#E7D95B
RGBrgb(231, 217, 91)
HSLhsl(54, 74%, 63%)
HSVhsv(54, 61%, 91%)
CMYKcmyk(0%, 6.1%, 60.6%, 9.4%)
CIE-LABlab(85.69, -10.22, 62.10)
CIE-LCHlch(85.69, 62.94, 99.35°)
OKLaboklab(87.31% -0.0328 0.1422)
OKLCHoklch(87.31% 0.146 103)
XYZxyz(59.6584, 67.3722, 19.7571)
Luminance0.6737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D95B #5B69E7
analogous
#E7935B #E7D95B #AFE75B
triadic
#E7D95B #5BE7D9 #D95BE7
tetradic
#E7D95B #5BE793 #5B69E7 #E75BAF
square
#E7D95B #5BE793 #5B69E7 #E75BAF
split-complementary
#E7D95B #5BAFE7 #935BE7
monochromatic
#AE9F19 #DFCD26 #E7D95B #EFE590 #F7F2C6

Accessibility & contrast

On white

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

On black

14.47
#E7D95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D95B
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D95B#FFFFFF#000000##000000
##E7D95B1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24D
Deuteranopia (green-blind)
#EFD962
Tritanopia (blue-blind)
#F7CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d95b;
/* rgb */ color: rgb(231, 217, 91);
/* oklch */ color: oklch(87.3% 0.146 103.0);
Tailwind
colors: {
  custom: {
    50: '#f2e48e',
    500: '#e7d95b',
    950: '#000000',
  },
}
SCSS
$custom: #e7d95b;
$custom-light: #f2e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d95b",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 54,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87314,
    "c": 0.14596,
    "h": 103
  },
  "luminance": 0.6737
}

Semantic roles & 50–950 ramp

primary
#E7D95B
secondary
#3743AF
accent
#23D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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