#E7D56D#E7D56D

#E7D56D is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.7% C 0.127 H 99.7°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#E7D56D
RGBrgb(231, 213, 109)
HSLhsl(51, 72%, 67%)
HSVhsv(51, 53%, 91%)
CMYKcmyk(0%, 7.8%, 52.8%, 9.4%)
CIE-LABlab(84.83, -6.88, 53.03)
CIE-LCHlch(84.83, 53.47, 97.40°)
OKLaboklab(86.69% -0.0212 0.1248)
OKLCHoklch(86.69% 0.127 99.7)
XYZxyz(59.5115, 65.6838, 24.0085)
Luminance0.6568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D56D #6D7FE7
analogous
#E7986D #E7D56D #BCE76D
triadic
#E7D56D #6DE7D5 #D56DE7
tetradic
#E7D56D #6DE798 #6D7FE7 #E76DBC
square
#E7D56D #6DE798 #6D7FE7 #E76DBC
split-complementary
#E7D56D #6DBCE7 #986DE7
monochromatic
#BBA41F #DEC638 #E7D56D #F0E4A2 #F8F3D6

Accessibility & contrast

On white

1.49
#E7D56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#E7D56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D56D
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D56D#FFFFFF#000000##000000
##E7D56D1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D063
Deuteranopia (green-blind)
#EBD772
Tritanopia (blue-blind)
#F6C8BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d56d;
/* rgb */ color: rgb(231, 213, 109);
/* oklch */ color: oklch(86.7% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#f1e199',
    500: '#e7d56d',
    950: '#000000',
  },
}
SCSS
$custom: #e7d56d;
$custom-light: #f1e199;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d56d",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 109
  },
  "hsl": {
    "h": 51.148,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86691,
    "c": 0.12658,
    "h": 99.7
  },
  "luminance": 0.65682
}

Semantic roles & 50–950 ramp

primary
#E7D56D
secondary
#3E50BA
accent
#2ED412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D56D

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

Preview Lab → · Contrast checker → · Palette generator →

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