#E7E956#E7E956

#E7E956 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.6% C 0.165 H 110.0°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#E7E956
RGBrgb(231, 233, 86)
HSLhsl(61, 77%, 63%)
HSVhsv(61, 63%, 91%)
CMYKcmyk(0.9%, 0%, 63.1%, 8.6%)
CIE-LABlab(89.83, -18.44, 68.59)
CIE-LCHlch(89.83, 71.02, 105.05°)
OKLaboklab(90.6% -0.0566 0.1553)
OKLCHoklch(90.6% 0.165 110)
XYZxyz(63.7756, 75.9403, 20.1007)
Luminance0.7594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E956 #5856E9
analogous
#E9A156 #E7E956 #9EE956
triadic
#E7E956 #56E7E9 #E956E7
tetradic
#E7E956 #56E9A1 #5856E9 #E9569E
square
#E7E956 #56E9A1 #5856E9 #E9569E
split-complementary
#E7E956 #569EE9 #A156E9
monochromatic
#ACAE17 #DFE220 #E7E956 #EFF08C #F6F7C2

Accessibility & contrast

On white

1.30
#E7E956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#E7E956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E956
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E956#FFFFFF#000000##000000
##E7E9561.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF43
Deuteranopia (green-blind)
#FCE460
Tritanopia (blue-blind)
#F6DBCB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e7e956;
/* rgb */ color: rgb(231, 233, 86);
/* oklch */ color: oklch(90.6% 0.165 110.0);
Tailwind
colors: {
  custom: {
    50: '#f2ef8c',
    500: '#e7e956',
    950: '#000000',
  },
}
SCSS
$custom: #e7e956;
$custom-light: #f2ef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e956",
  "rgb": {
    "r": 231,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 60.816,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90599,
    "c": 0.16525,
    "h": 110
  },
  "luminance": 0.75939
}

Semantic roles & 50–950 ramp

primary
#E7E956
secondary
#3634AF
accent
#0CD90F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7E956

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

Preview Lab → · Contrast checker → · Palette generator →

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