#E7D156#E7D156

#E7D156 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.143 H 99.2°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#E7D156
RGBrgb(231, 209, 86)
HSLhsl(51, 75%, 62%)
HSVhsv(51, 63%, 91%)
CMYKcmyk(0%, 9.5%, 62.8%, 9.4%)
CIE-LABlab(83.58, -6.51, 61.95)
CIE-LCHlch(83.58, 62.29, 96.00°)
OKLaboklab(85.63% -0.0227 0.1412)
OKLCHoklch(85.63% 0.143 99.2)
XYZxyz(57.4376, 63.2643, 17.9881)
Luminance0.6326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D156 #566CE7
analogous
#E78956 #E7D156 #B4E756
triadic
#E7D156 #56E7D1 #D156E7
tetradic
#E7D156 #56E789 #566CE7 #E756B4
square
#E7D156 #56E789 #566CE7 #E756B4
split-complementary
#E7D156 #56B4E7 #8956E7
monochromatic
#AA9418 #DFC220 #E7D156 #EFE08C #F6EEC1

Accessibility & contrast

On white

1.54
#E7D156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#E7D156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D156
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D156#FFFFFF#000000##000000
##E7D1561.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC48
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#F8C3B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e7d156;
/* rgb */ color: rgb(231, 209, 86);
/* oklch */ color: oklch(85.6% 0.143 99.2);
Tailwind
colors: {
  custom: {
    50: '#f2de8b',
    500: '#e7d156',
    950: '#000000',
  },
}
SCSS
$custom: #e7d156;
$custom-light: #f2de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d156",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 50.897,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85625,
    "c": 0.14303,
    "h": 99.2
  },
  "luminance": 0.63262
}

Semantic roles & 50–950 ramp

primary
#E7D156
secondary
#3547AC
accent
#2DD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D156

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

Preview Lab → · Contrast checker → · Palette generator →

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