#E7E56B#E7E56B

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

Color values

HEX#E7E56B
RGBrgb(231, 229, 107)
HSLhsl(59, 72%, 66%)
HSVhsv(59, 54%, 91%)
CMYKcmyk(0%, 0.9%, 53.7%, 9.4%)
CIE-LABlab(88.97, -15.04, 58.74)
CIE-LCHlch(88.97, 60.64, 104.36°)
OKLaboklab(89.97% -0.0448 0.1369)
OKLCHoklch(89.97% 0.144 108.1)
XYZxyz(63.6299, 74.0908, 24.8562)
Luminance0.7409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E56B #6B6DE7
analogous
#E7A76B #E7E56B #ABE76B
triadic
#E7E56B #6BE7E5 #E56BE7
tetradic
#E7E56B #6BE7A7 #6B6DE7 #E76BAB
square
#E7E56B #6BE7A7 #6B6DE7 #E76BAB
split-complementary
#E7E56B #6BABE7 #A76BE7
monochromatic
#BAB71E #DEDC36 #E7E56B #F0EEA0 #F8F8D4

Accessibility & contrast

On white

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

On black

15.82
#E7E56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E56B
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E56B#FFFFFF#000000##000000
##E7E56B1.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7e56b;
/* rgb */ color: rgb(231, 229, 107);
/* oklch */ color: oklch(90.0% 0.144 108.1);
Tailwind
colors: {
  custom: {
    50: '#f1ed99',
    500: '#e7e56b',
    950: '#000000',
  },
}
SCSS
$custom: #e7e56b;
$custom-light: #f1ed99;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e56b",
  "rgb": {
    "r": 231,
    "g": 229,
    "b": 107
  },
  "hsl": {
    "h": 59.032,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.89966,
    "c": 0.14409,
    "h": 108.1
  },
  "luminance": 0.74089
}

Semantic roles & 50–950 ramp

primary
#E7E56B
secondary
#3D3FB9
accent
#14D411
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E56B

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

Preview Lab → · Contrast checker → · Palette generator →

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