#E7D56F#E7D56F

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

Color values

HEX#E7D56F
RGBrgb(231, 213, 111)
HSLhsl(51, 71%, 67%)
HSVhsv(51, 52%, 91%)
CMYKcmyk(0%, 7.8%, 51.9%, 9.4%)
CIE-LABlab(84.86, -6.72, 52.11)
CIE-LCHlch(84.86, 52.54, 97.35°)
OKLaboklab(86.72% -0.0205 0.123)
OKLCHoklch(86.72% 0.125 99.5)
XYZxyz(59.6204, 65.7274, 24.5820)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D56F #6F81E7
analogous
#E7996F #E7D56F #BDE76F
triadic
#E7D56F #6FE7D5 #D56FE7
tetradic
#E7D56F #6FE799 #6F81E7 #E76FBD
square
#E7D56F #6FE799 #6F81E7 #E76FBD
split-complementary
#E7D56F #6FBDE7 #996FE7
monochromatic
#BCA51F #DEC63B #E7D56F #F0E4A3 #F8F4D8

Accessibility & contrast

On white

1.48
#E7D56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#E7D56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D56F
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D56F#FFFFFF#000000##000000
##E7D56F1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D066
Deuteranopia (green-blind)
#EBD774
Tritanopia (blue-blind)
#F6C8BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d56f;
/* rgb */ color: rgb(231, 213, 111);
/* oklch */ color: oklch(86.7% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#f1e19b',
    500: '#e7d56f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d56f;
$custom-light: #f1e19b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d56f",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 111
  },
  "hsl": {
    "h": 51,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86716,
    "c": 0.12469,
    "h": 99.5
  },
  "luminance": 0.65725
}

Semantic roles & 50–950 ramp

primary
#E7D56F
secondary
#3F51BC
accent
#2FD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D56F

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

Preview Lab → · Contrast checker → · Palette generator →

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