#E7D95A#E7D95A

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

Color values

HEX#E7D95A
RGBrgb(231, 217, 90)
HSLhsl(54, 75%, 63%)
HSVhsv(54, 61%, 91%)
CMYKcmyk(0%, 6.1%, 61%, 9.4%)
CIE-LABlab(85.68, -10.29, 62.52)
CIE-LCHlch(85.68, 63.36, 99.35°)
OKLaboklab(87.3% -0.0331 0.143)
OKLCHoklch(87.3% 0.147 103)
XYZxyz(59.6155, 67.3551, 19.5314)
Luminance0.6735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D95A #5A68E7
analogous
#E7935A #E7D95A #AEE75A
triadic
#E7D95A #5AE7D9 #D95AE7
tetradic
#E7D95A #5AE793 #5A68E7 #E75AAE
square
#E7D95A #5AE793 #5A68E7 #E75AAE
split-complementary
#E7D95A #5AAEE7 #935AE7
monochromatic
#AD9F19 #DFCD25 #E7D95A #EFE58F #F7F2C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D95A#FFFFFF#000000##000000
##E7D95A1.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)
#EBD24B
Deuteranopia (green-blind)
#F0D961
Tritanopia (blue-blind)
#F7CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d95a;
/* rgb */ color: rgb(231, 217, 90);
/* oklch */ color: oklch(87.3% 0.147 103.0);
Tailwind
colors: {
  custom: {
    50: '#f2e48e',
    500: '#e7d95a',
    950: '#000000',
  },
}
SCSS
$custom: #e7d95a;
$custom-light: #f2e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d95a",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 54.043,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87304,
    "c": 0.14675,
    "h": 103
  },
  "luminance": 0.67353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7D95A

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

Preview Lab → · Contrast checker → · Palette generator →

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