#E7D15F#E7D15F

#E7D15F is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.136 H 98.5°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#E7D15F
RGBrgb(231, 209, 95)
HSLhsl(50, 74%, 64%)
HSVhsv(50, 59%, 91%)
CMYKcmyk(0%, 9.5%, 58.9%, 9.4%)
CIE-LABlab(83.66, -5.91, 58.10)
CIE-LCHlch(83.66, 58.40, 95.81°)
OKLaboklab(85.72% -0.02 0.1342)
OKLCHoklch(85.72% 0.136 98.5)
XYZxyz(57.8233, 63.4186, 20.0195)
Luminance0.6342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D15F #5F75E7
analogous
#E78D5F #E7D15F #B9E75F
triadic
#E7D15F #5FE7D1 #D15FE7
tetradic
#E7D15F #5FE78D #5F75E7 #E75FB9
square
#E7D15F #5FE78D #5F75E7 #E75FB9
split-complementary
#E7D15F #5FB9E7 #8D5FE7
monochromatic
#B1991B #DFC22A #E7D15F #EFE094 #F7F0C9

Accessibility & contrast

On white

1.53
#E7D15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#E7D15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D15F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D15F#FFFFFF#000000##000000
##E7D15F1.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC53
Deuteranopia (green-blind)
#E9D465
Tritanopia (blue-blind)
#F7C3B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e7d15f;
/* rgb */ color: rgb(231, 209, 95);
/* oklch */ color: oklch(85.7% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#f2de90',
    500: '#e7d15f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d15f;
$custom-light: #f2de90;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d15f",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 95
  },
  "hsl": {
    "h": 50.294,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85715,
    "c": 0.13569,
    "h": 98.5
  },
  "luminance": 0.63416
}

Semantic roles & 50–950 ramp

primary
#E7D15F
secondary
#394CB2
accent
#30D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D15F

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

Preview Lab → · Contrast checker → · Palette generator →

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