#E7D959#E7D959

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

Color values

HEX#E7D959
RGBrgb(231, 217, 89)
HSLhsl(54, 75%, 63%)
HSVhsv(54, 61%, 91%)
CMYKcmyk(0%, 6.1%, 61.5%, 9.4%)
CIE-LABlab(85.67, -10.35, 62.94)
CIE-LCHlch(85.67, 63.78, 99.34°)
OKLaboklab(87.3% -0.0334 0.1437)
OKLCHoklch(87.3% 0.148 103.1)
XYZxyz(59.5732, 67.3382, 19.3088)
Luminance0.6734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D959 #5967E7
analogous
#E79259 #E7D959 #AEE759
triadic
#E7D959 #59E7D9 #D959E7
tetradic
#E7D959 #59E792 #5967E7 #E759AE
square
#E7D959 #59E792 #5967E7 #E759AE
split-complementary
#E7D959 #59AEE7 #9259E7
monochromatic
#AD9E19 #DFCD24 #E7D959 #EFE58E #F6F1C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D959#FFFFFF#000000##000000
##E7D9591.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)
#EBD24A
Deuteranopia (green-blind)
#F0D960
Tritanopia (blue-blind)
#F7CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d959;
/* rgb */ color: rgb(231, 217, 89);
/* oklch */ color: oklch(87.3% 0.148 103.1);
Tailwind
colors: {
  custom: {
    50: '#f2e48d',
    500: '#e7d959',
    950: '#000000',
  },
}
SCSS
$custom: #e7d959;
$custom-light: #f2e48d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d959",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 54.085,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87295,
    "c": 0.14755,
    "h": 103.1
  },
  "luminance": 0.67336
}

Semantic roles & 50–950 ramp

primary
#E7D959
secondary
#3642AE
accent
#22D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D959

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

Preview Lab → · Contrast checker → · Palette generator →

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