#E7F56B#E7F56B

#E7F56B is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.3% C 0.162 H 114.4°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#E7F56B
RGBrgb(231, 245, 107)
HSLhsl(66, 87%, 69%)
HSVhsv(66, 56%, 96%)
CMYKcmyk(5.7%, 0%, 56.3%, 3.9%)
CIE-LABlab(93.17, -22.79, 63.51)
CIE-LCHlch(93.17, 67.48, 109.74°)
OKLaboklab(93.32% -0.0668 0.1472)
OKLCHoklch(93.32% 0.162 114.4)
XYZxyz(68.2627, 83.3564, 26.4004)
Luminance0.8336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F56B #796BF5
analogous
#F5BE6B #E7F56B #A2F56B
triadic
#E7F56B #6BE7F5 #F56BE7
tetradic
#E7F56B #6BF5BE #796BF5 #F56BA2
square
#E7F56B #6BF5BE #796BF5 #F56BA2
split-complementary
#E7F56B #6BA2F5 #BE6BF5
monochromatic
#C3D70F #DEF132 #E7F56B #F0F9A4 #FAFDDE

Accessibility & contrast

On white

1.19
#E7F56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#E7F56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F56B
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F56B#FFFFFF#000000##000000
##E7F56B1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5C
Deuteranopia (green-blind)
#FFED73
Tritanopia (blue-blind)
#F4E8D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #e7f56b;
/* rgb */ color: rgb(231, 245, 107);
/* oklch */ color: oklch(93.3% 0.162 114.4);
Tailwind
colors: {
  custom: {
    50: '#f1f89a',
    500: '#e7f56b',
    950: '#000000',
  },
}
SCSS
$custom: #e7f56b;
$custom-light: #f1f89a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f56b",
  "rgb": {
    "r": 231,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 66.087,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.93324,
    "c": 0.16162,
    "h": 114.4
  },
  "luminance": 0.83355
}

Semantic roles & 50–950 ramp

primary
#E7F56B
secondary
#4536CE
accent
#02E419
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E7F56B

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

Preview Lab → · Contrast checker → · Palette generator →

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