#E7E056#E7E056

#E7E056 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.7% C 0.156 H 106.4°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#E7E056
RGBrgb(231, 224, 86)
HSLhsl(57, 75%, 62%)
HSVhsv(57, 63%, 91%)
CMYKcmyk(0%, 3%, 62.8%, 9.4%)
CIE-LABlab(87.47, -14.03, 66.11)
CIE-LCHlch(87.47, 67.58, 101.98°)
OKLaboklab(88.72% -0.0441 0.15)
OKLCHoklch(88.72% 0.156 106.4)
XYZxyz(61.2925, 70.9741, 19.2730)
Luminance0.7097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E056 #565DE7
analogous
#E79756 #E7E056 #A6E756
triadic
#E7E056 #56E7E0 #E056E7
tetradic
#E7E056 #56E797 #565DE7 #E756A6
square
#E7E056 #56E797 #565DE7 #E756A6
split-complementary
#E7E056 #56A6E7 #9756E7
monochromatic
#AAA318 #DFD620 #E7E056 #EFEA8C #F6F4C1

Accessibility & contrast

On white

1.38
#E7E056 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#E7E056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E056
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E056#FFFFFF#000000##000000
##E7E0561.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D845
Deuteranopia (green-blind)
#F5DE5E
Tritanopia (blue-blind)
#F7D2C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7e056;
/* rgb */ color: rgb(231, 224, 86);
/* oklch */ color: oklch(88.7% 0.156 106.4);
Tailwind
colors: {
  custom: {
    50: '#f2e98c',
    500: '#e7e056',
    950: '#000000',
  },
}
SCSS
$custom: #e7e056;
$custom-light: #f2e98c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e056",
  "rgb": {
    "r": 231,
    "g": 224,
    "b": 86
  },
  "hsl": {
    "h": 57.103,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.88717,
    "c": 0.15637,
    "h": 106.4
  },
  "luminance": 0.70972
}

Semantic roles & 50–950 ramp

primary
#E7E056
secondary
#353BAC
accent
#18D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E056

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

Preview Lab → · Contrast checker → · Palette generator →

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