#E7D95F#E7D95F

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

Color values

HEX#E7D95F
RGBrgb(231, 217, 95)
HSLhsl(54, 74%, 64%)
HSVhsv(54, 59%, 91%)
CMYKcmyk(0%, 6.1%, 58.9%, 9.4%)
CIE-LABlab(85.73, -9.95, 60.41)
CIE-LCHlch(85.73, 61.22, 99.36°)
OKLaboklab(87.35% -0.0316 0.1391)
OKLCHoklch(87.35% 0.143 102.8)
XYZxyz(59.8355, 67.4431, 20.6902)
Luminance0.6744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D95F #5F6DE7
analogous
#E7955F #E7D95F #B1E75F
triadic
#E7D95F #5FE7D9 #D95FE7
tetradic
#E7D95F #5FE795 #5F6DE7 #E75FB1
square
#E7D95F #5FE795 #5F6DE7 #E75FB1
split-complementary
#E7D95F #5FB1E7 #955FE7
monochromatic
#B1A21B #DFCC2A #E7D95F #EFE694 #F7F2C9

Accessibility & contrast

On white

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

On black

14.49
#E7D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D95F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D95F#FFFFFF#000000##000000
##E7D95F1.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD352
Deuteranopia (green-blind)
#EFD965
Tritanopia (blue-blind)
#F7CBBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d95f;
/* rgb */ color: rgb(231, 217, 95);
/* oklch */ color: oklch(87.4% 0.143 102.8);
Tailwind
colors: {
  custom: {
    50: '#f1e491',
    500: '#e7d95f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d95f;
$custom-light: #f1e491;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d95f",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 53.824,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.87354,
    "c": 0.14267,
    "h": 102.8
  },
  "luminance": 0.67441
}

Semantic roles & 50–950 ramp

primary
#E7D95F
secondary
#3945B2
accent
#24D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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