#E7D95E#E7D95E

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

Color values

HEX#E7D95E
RGBrgb(231, 217, 94)
HSLhsl(54, 74%, 64%)
HSVhsv(54, 59%, 91%)
CMYKcmyk(0%, 6.1%, 59.3%, 9.4%)
CIE-LABlab(85.72, -10.02, 60.84)
CIE-LCHlch(85.72, 61.66, 99.36°)
OKLaboklab(87.34% -0.0319 0.1399)
OKLCHoklch(87.34% 0.144 102.8)
XYZxyz(59.7904, 67.4250, 20.4524)
Luminance0.6742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D95E #5E6CE7
analogous
#E7945E #E7D95E #B0E75E
triadic
#E7D95E #5EE7D9 #D95EE7
tetradic
#E7D95E #5EE794 #5E6CE7 #E75EB0
square
#E7D95E #5EE794 #5E6CE7 #E75EB0
split-complementary
#E7D95E #5EB0E7 #945EE7
monochromatic
#B0A11A #DFCC29 #E7D95E #EFE693 #F7F2C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D95E#FFFFFF#000000##000000
##E7D95E1.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)
#EBD351
Deuteranopia (green-blind)
#EFD965
Tritanopia (blue-blind)
#F7CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d95e;
/* rgb */ color: rgb(231, 217, 94);
/* oklch */ color: oklch(87.3% 0.144 102.8);
Tailwind
colors: {
  custom: {
    50: '#f2e490',
    500: '#e7d95e',
    950: '#000000',
  },
}
SCSS
$custom: #e7d95e;
$custom-light: #f2e490;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d95e",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 53.869,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87343,
    "c": 0.14351,
    "h": 102.8
  },
  "luminance": 0.67423
}

Semantic roles & 50–950 ramp

primary
#E7D95E
secondary
#3845B1
accent
#24D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D95E

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

Preview Lab → · Contrast checker → · Palette generator →

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