#E7F17C#E7F17C

#E7F17C is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.7% C 0.142 H 113.2°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#E7F17C
RGBrgb(231, 241, 124)
HSLhsl(65, 81%, 72%)
HSVhsv(65, 49%, 95%)
CMYKcmyk(4.1%, 0%, 48.5%, 5.5%)
CIE-LABlab(92.29, -19.47, 54.88)
CIE-LCHlch(92.29, 58.23, 109.53°)
OKLaboklab(92.68% -0.0557 0.1301)
OKLCHoklch(92.68% 0.142 113.2)
XYZxyz(68.0495, 81.3559, 31.1833)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F17C #867CF1
analogous
#F1C17C #E7F17C #ADF17C
triadic
#E7F17C #7CE7F1 #F17CE7
tetradic
#E7F17C #7CF1C1 #867CF1 #F17CAD
square
#E7F17C #7CF1C1 #867CF1 #F17CAD
split-complementary
#E7F17C #7CADF1 #C17CF1
monochromatic
#CADB17 #DDEB45 #E7F17C #F1F7B3 #FAFCE3

Accessibility & contrast

On white

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

On black

17.27
#E7F17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F17C
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F17C#FFFFFF#000000##000000
##E7F17C1.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE871
Deuteranopia (green-blind)
#FFEA82
Tritanopia (blue-blind)
#F3E5D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e7f17c;
/* rgb */ color: rgb(231, 241, 124);
/* oklch */ color: oklch(92.7% 0.142 113.2);
Tailwind
colors: {
  custom: {
    50: '#f0f5a4',
    500: '#e7f17c',
    950: '#000000',
  },
}
SCSS
$custom: #e7f17c;
$custom-light: #f0f5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f17c",
  "rgb": {
    "r": 231,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 65.128,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92676,
    "c": 0.14158,
    "h": 113.2
  },
  "luminance": 0.81355
}

Semantic roles & 50–950 ramp

primary
#E7F17C
secondary
#5146CB
accent
#08DD1B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E7F17C

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

Preview Lab → · Contrast checker → · Palette generator →

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