#E7F152#E7F152

#E7F152 is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.3% C 0.176 H 112.9°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#E7F152
RGBrgb(231, 241, 82)
HSLhsl(64, 85%, 63%)
HSVhsv(64, 66%, 95%)
CMYKcmyk(4.1%, 0%, 66%, 5.5%)
CIE-LABlab(91.91, -22.52, 72.28)
CIE-LCHlch(91.91, 75.71, 107.31°)
OKLaboklab(92.25% -0.0685 0.1624)
OKLCHoklch(92.25% 0.176 112.9)
XYZxyz(65.9352, 80.5101, 20.0477)
Luminance0.8051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F152 #5C52F1
analogous
#F1AC52 #E7F152 #97F152
triadic
#E7F152 #52E7F1 #F152E7
tetradic
#E7F152 #52F1AC #5C52F1 #F15297
square
#E7F152 #52F1AC #5C52F1 #F15297
split-complementary
#E7F152 #5297F1 #AC52F1
monochromatic
#AFBA0F #DFEC19 #E7F152 #EFF68B #F7FAC3

Accessibility & contrast

On white

1.23
#E7F152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.10
#E7F152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F152
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F152#FFFFFF#000000##000000
##E7F1521.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE63B
Deuteranopia (green-blind)
#FFEA5D
Tritanopia (blue-blind)
#F6E3D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e7f152;
/* rgb */ color: rgb(231, 241, 82);
/* oklch */ color: oklch(92.3% 0.176 112.9);
Tailwind
colors: {
  custom: {
    50: '#f2f58b',
    500: '#e7f152',
    950: '#000000',
  },
}
SCSS
$custom: #e7f152;
$custom-light: #f2f58b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f152",
  "rgb": {
    "r": 231,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 63.774,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.92254,
    "c": 0.17628,
    "h": 112.9
  },
  "luminance": 0.80509
}

Semantic roles & 50–950 ramp

primary
#E7F152
secondary
#372FB8
accent
#04E212
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #E7F152

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

Preview Lab → · Contrast checker → · Palette generator →

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