#E7E56D#E7E56D

#E7E56D is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.0% C 0.142 H 108.1°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#E7E56D
RGBrgb(231, 229, 109)
HSLhsl(59, 72%, 67%)
HSVhsv(59, 53%, 91%)
CMYKcmyk(0%, 0.9%, 52.8%, 9.4%)
CIE-LABlab(88.99, -14.88, 57.86)
CIE-LCHlch(88.99, 59.75, 104.42°)
OKLaboklab(89.99% -0.0441 0.1353)
OKLCHoklch(89.99% 0.142 108.1)
XYZxyz(63.7363, 74.1334, 25.4168)
Luminance0.7413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E56D #6D6FE7
analogous
#E7A86D #E7E56D #ACE76D
triadic
#E7E56D #6DE7E5 #E56DE7
tetradic
#E7E56D #6DE7A8 #6D6FE7 #E76DAC
square
#E7E56D #6DE7A8 #6D6FE7 #E76DAC
split-complementary
#E7E56D #6DACE7 #A86DE7
monochromatic
#BBB81F #DEDC38 #E7E56D #F0EEA2 #F8F8D6

Accessibility & contrast

On white

1.33
#E7E56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#E7E56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E56D
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E56D#FFFFFF#000000##000000
##E7E56D1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD61
Deuteranopia (green-blind)
#F7E273
Tritanopia (blue-blind)
#F5D8CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e56d;
/* rgb */ color: rgb(231, 229, 109);
/* oklch */ color: oklch(90.0% 0.142 108.1);
Tailwind
colors: {
  custom: {
    50: '#f1ed9a',
    500: '#e7e56d',
    950: '#000000',
  },
}
SCSS
$custom: #e7e56d;
$custom-light: #f1ed9a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e56d",
  "rgb": {
    "r": 231,
    "g": 229,
    "b": 109
  },
  "hsl": {
    "h": 59.016,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.89989,
    "c": 0.14229,
    "h": 108.1
  },
  "luminance": 0.74132
}

Semantic roles & 50–950 ramp

primary
#E7E56D
secondary
#3E40BA
accent
#15D412
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E56D

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

Preview Lab → · Contrast checker → · Palette generator →

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