#E7D56C#E7D56C

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

Color values

HEX#E7D56C
RGBrgb(231, 213, 108)
HSLhsl(51, 72%, 66%)
HSVhsv(51, 53%, 91%)
CMYKcmyk(0%, 7.8%, 53.2%, 9.4%)
CIE-LABlab(84.82, -6.96, 53.48)
CIE-LCHlch(84.82, 53.93, 97.42°)
OKLaboklab(86.68% -0.0216 0.1257)
OKLCHoklch(86.68% 0.128 99.7)
XYZxyz(59.4580, 65.6624, 23.7266)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D56C #6C7EE7
analogous
#E7986C #E7D56C #BBE76C
triadic
#E7D56C #6CE7D5 #D56CE7
tetradic
#E7D56C #6CE798 #6C7EE7 #E76CBB
square
#E7D56C #6CE798 #6C7EE7 #E76CBB
split-complementary
#E7D56C #6CBBE7 #986CE7
monochromatic
#BAA31E #DEC637 #E7D56C #F0E4A1 #F8F3D5

Accessibility & contrast

On white

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

On black

14.13
#E7D56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D56C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D56C#FFFFFF#000000##000000
##E7D56C1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d56c;
/* rgb */ color: rgb(231, 213, 108);
/* oklch */ color: oklch(86.7% 0.128 99.7);
Tailwind
colors: {
  custom: {
    50: '#f1e199',
    500: '#e7d56c',
    950: '#000000',
  },
}
SCSS
$custom: #e7d56c;
$custom-light: #f1e199;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d56c",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 51.22,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86679,
    "c": 0.12753,
    "h": 99.7
  },
  "luminance": 0.6566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7D56C

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

Preview Lab → · Contrast checker → · Palette generator →

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