#E7D56B#E7D56B

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

Color values

HEX#E7D56B
RGBrgb(231, 213, 107)
HSLhsl(51, 72%, 66%)
HSVhsv(51, 54%, 91%)
CMYKcmyk(0%, 7.8%, 53.7%, 9.4%)
CIE-LABlab(84.81, -7.04, 53.94)
CIE-LCHlch(84.81, 54.39, 97.44°)
OKLaboklab(86.67% -0.0219 0.1266)
OKLCHoklch(86.67% 0.128 99.8)
XYZxyz(59.4051, 65.6412, 23.4479)
Luminance0.6564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D56B #6B7DE7
analogous
#E7976B #E7D56B #BBE76B
triadic
#E7D56B #6BE7D5 #D56BE7
tetradic
#E7D56B #6BE797 #6B7DE7 #E76BBB
square
#E7D56B #6BE797 #6B7DE7 #E76BBB
split-complementary
#E7D56B #6BBBE7 #976BE7
monochromatic
#BAA31E #DEC636 #E7D56B #F0E4A0 #F8F3D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D56B#FFFFFF#000000##000000
##E7D56B1.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)
#E6D061
Deuteranopia (green-blind)
#EBD770
Tritanopia (blue-blind)
#F7C8BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d56b;
/* rgb */ color: rgb(231, 213, 107);
/* oklch */ color: oklch(86.7% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#f1e198',
    500: '#e7d56b',
    950: '#000000',
  },
}
SCSS
$custom: #e7d56b;
$custom-light: #f1e198;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d56b",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 51.29,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86667,
    "c": 0.12847,
    "h": 99.8
  },
  "luminance": 0.65639
}

Semantic roles & 50–950 ramp

primary
#E7D56B
secondary
#3D4FB9
accent
#2ED411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D56B

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

Preview Lab → · Contrast checker → · Palette generator →

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