#E7D95C#E7D95C

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

Color values

HEX#E7D95C
RGBrgb(231, 217, 92)
HSLhsl(54, 74%, 63%)
HSVhsv(54, 60%, 91%)
CMYKcmyk(0%, 6.1%, 60.2%, 9.4%)
CIE-LABlab(85.70, -10.16, 61.68)
CIE-LCHlch(85.70, 62.51, 99.35°)
OKLaboklab(87.32% -0.0325 0.1415)
OKLCHoklch(87.32% 0.145 102.9)
XYZxyz(59.7018, 67.3896, 19.9858)
Luminance0.6739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D95C #5C6AE7
analogous
#E7935C #E7D95C #AFE75C
triadic
#E7D95C #5CE7D9 #D95CE7
tetradic
#E7D95C #5CE793 #5C6AE7 #E75CAF
square
#E7D95C #5CE793 #5C6AE7 #E75CAF
split-complementary
#E7D95C #5CAFE7 #935CE7
monochromatic
#AFA01A #DFCD27 #E7D95C #EFE591 #F7F2C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D95C#FFFFFF#000000##000000
##E7D95C1.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)
#EBD24E
Deuteranopia (green-blind)
#EFD963
Tritanopia (blue-blind)
#F7CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d95c;
/* rgb */ color: rgb(231, 217, 92);
/* oklch */ color: oklch(87.3% 0.145 102.9);
Tailwind
colors: {
  custom: {
    50: '#f2e48f',
    500: '#e7d95c',
    950: '#000000',
  },
}
SCSS
$custom: #e7d95c;
$custom-light: #f2e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d95c",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 53.957,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87324,
    "c": 0.14515,
    "h": 102.9
  },
  "luminance": 0.67387
}

Semantic roles & 50–950 ramp

primary
#E7D95C
secondary
#3744B0
accent
#23D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D95C

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

Preview Lab → · Contrast checker → · Palette generator →

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