#E7F672#E7F672

#E7F672 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.6% C 0.157 H 114.9°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#E7F672
RGBrgb(231, 246, 114)
HSLhsl(67, 88%, 71%)
HSVhsv(67, 54%, 96%)
CMYKcmyk(6.1%, 0%, 53.7%, 3.5%)
CIE-LABlab(93.50, -22.72, 60.83)
CIE-LCHlch(93.50, 64.94, 110.48°)
OKLaboklab(93.61% -0.0659 0.1422)
OKLCHoklch(93.61% 0.157 114.9)
XYZxyz(68.9493, 84.1164, 28.5202)
Luminance0.8411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F672 #8172F6
analogous
#F6C372 #E7F672 #A5F672
triadic
#E7F672 #72E7F6 #F672E7
tetradic
#E7F672 #72F6C3 #8172F6 #F672A5
square
#E7F672 #72F6C3 #8172F6 #F672A5
split-complementary
#E7F672 #72A5F6 #C372F6
monochromatic
#C8DF0E #DDF238 #E7F672 #F1FAAC #FAFDE2

Accessibility & contrast

On white

1.18
#E7F672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.82
#E7F672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F672
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F672#FFFFFF#000000##000000
##E7F6721.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#F4EAD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #e7f672;
/* rgb */ color: rgb(231, 246, 114);
/* oklch */ color: oklch(93.6% 0.157 114.9);
Tailwind
colors: {
  custom: {
    50: '#f1f99e',
    500: '#e7f672',
    950: '#000000',
  },
}
SCSS
$custom: #e7f672;
$custom-light: #f1f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f672",
  "rgb": {
    "r": 231,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 66.818,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9361,
    "c": 0.1567,
    "h": 114.9
  },
  "luminance": 0.84115
}

Semantic roles & 50–950 ramp

primary
#E7F672
secondary
#4D3CD1
accent
#01E51B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E7F672

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

Preview Lab → · Contrast checker → · Palette generator →

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