#E7F17A#E7F17A

#E7F17A is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.7% C 0.143 H 113.1°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#E7F17A
RGBrgb(231, 241, 122)
HSLhsl(65, 81%, 71%)
HSVhsv(65, 49%, 95%)
CMYKcmyk(4.1%, 0%, 49.4%, 5.5%)
CIE-LABlab(92.27, -19.65, 55.77)
CIE-LCHlch(92.27, 59.13, 109.40°)
OKLaboklab(92.65% -0.0564 0.132)
OKLCHoklch(92.65% 0.144 113.1)
XYZxyz(67.9243, 81.3058, 30.5240)
Luminance0.8131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F17A #847AF1
analogous
#F1BF7A #E7F17A #ABF17A
triadic
#E7F17A #7AE7F1 #F17AE7
tetradic
#E7F17A #7AF1BF #847AF1 #F17AAB
square
#E7F17A #7AF1BF #847AF1 #F17AAB
split-complementary
#E7F17A #7AABF1 #BF7AF1
monochromatic
#C9DA17 #DDEB43 #E7F17A #F1F7B1 #FAFCE3

Accessibility & contrast

On white

1.22
#E7F17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#E7F17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F17A
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F17A#FFFFFF#000000##000000
##E7F17A1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76F
Deuteranopia (green-blind)
#FFEA80
Tritanopia (blue-blind)
#F4E5D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e7f17a;
/* rgb */ color: rgb(231, 241, 122);
/* oklch */ color: oklch(92.7% 0.143 113.1);
Tailwind
colors: {
  custom: {
    50: '#f1f5a3',
    500: '#e7f17a',
    950: '#000000',
  },
}
SCSS
$custom: #e7f17a;
$custom-light: #f1f5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f17a",
  "rgb": {
    "r": 231,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 65.042,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92651,
    "c": 0.1435,
    "h": 113.1
  },
  "luminance": 0.81305
}

Semantic roles & 50–950 ramp

primary
#E7F17A
secondary
#4F44CB
accent
#08DD1A
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E7F17A

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

Preview Lab → · Contrast checker → · Palette generator →

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