#E7F596#E7F596

#E7F596 is a very light, moderate yellow. Relative luminance 0.845; OKLCH L 93.9% C 0.120 H 115.6°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#E7F596
RGBrgb(231, 245, 150)
HSLhsl(69, 83%, 77%)
HSVhsv(69, 39%, 96%)
CMYKcmyk(5.7%, 0%, 38.8%, 3.9%)
CIE-LABlab(93.67, -18.78, 44.17)
CIE-LCHlch(93.67, 48.00, 113.04°)
OKLaboklab(93.88% -0.0517 0.1079)
OKLCHoklch(93.88% 0.12 115.6)
XYZxyz(71.1128, 84.4964, 41.4115)
Luminance0.8450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F596 #A496F5
analogous
#F5D396 #E7F596 #B8F596
triadic
#E7F596 #96E7F5 #F596E7
tetradic
#E7F596 #96F5D3 #A496F5 #F596B8
square
#E7F596 #96F5D3 #A496F5 #F596B8
split-complementary
#E7F596 #96B8F5 #D396F5
monochromatic
#CDEA26 #DAF05E #E7F596 #F4FACE #F9FCE3

Accessibility & contrast

On white

1.17
#E7F596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.90
#E7F596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F596
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F596#FFFFFF#000000##000000
##E7F5961.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FFEE9A
Tritanopia (blue-blind)
#F1EBDE
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #e7f596;
/* rgb */ color: rgb(231, 245, 150);
/* oklch */ color: oklch(93.9% 0.120 115.6);
Tailwind
colors: {
  custom: {
    50: '#f0f8b6',
    500: '#e7f596',
    950: '#000000',
  },
}
SCSS
$custom: #e7f596;
$custom-light: #f0f8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f596",
  "rgb": {
    "r": 231,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 68.842,
    "s": 82.609,
    "l": 77.451
  },
  "oklch": {
    "l": 0.9388,
    "c": 0.11962,
    "h": 115.6
  },
  "luminance": 0.84496
}

Semantic roles & 50–950 ramp

primary
#E7F596
secondary
#6D5CD3
accent
#06DF26
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #E7F596

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

Preview Lab → · Contrast checker → · Palette generator →

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