#E7DF72#E7DF72

#E7DF72 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.8% C 0.131 H 105.0°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#E7DF72
RGBrgb(231, 223, 114)
HSLhsl(56, 71%, 68%)
HSVhsv(56, 51%, 91%)
CMYKcmyk(0%, 3.5%, 50.6%, 9.4%)
CIE-LABlab(87.48, -11.50, 53.80)
CIE-LCHlch(87.48, 55.02, 102.06°)
OKLaboklab(88.81% -0.034 0.127)
OKLCHoklch(88.81% 0.131 105)
XYZxyz(62.3816, 70.9811, 26.3310)
Luminance0.7098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF72 #727AE7
analogous
#E7A472 #E7DF72 #B5E772
triadic
#E7DF72 #72E7DF #DF72E7
tetradic
#E7DF72 #72E7A4 #727AE7 #E772B5
square
#E7DF72 #72E7A4 #727AE7 #E772B5
split-complementary
#E7DF72 #72B5E7 #A472E7
monochromatic
#BEB320 #DED33E #E7DF72 #F0EBA6 #F9F7DB

Accessibility & contrast

On white

1.38
#E7DF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.20
#E7DF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF72
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF72#FFFFFF#000000##000000
##E7DF721.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD868
Deuteranopia (green-blind)
#F2DE77
Tritanopia (blue-blind)
#F5D3C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7df72;
/* rgb */ color: rgb(231, 223, 114);
/* oklch */ color: oklch(88.8% 0.131 105.0);
Tailwind
colors: {
  custom: {
    50: '#f1e89d',
    500: '#e7df72',
    950: '#000000',
  },
}
SCSS
$custom: #e7df72;
$custom-light: #f1e89d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df72",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 114
  },
  "hsl": {
    "h": 55.897,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88805,
    "c": 0.13141,
    "h": 105
  },
  "luminance": 0.70979
}

Semantic roles & 50–950 ramp

primary
#E7DF72
secondary
#4048BD
accent
#20D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7DF72

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

Preview Lab → · Contrast checker → · Palette generator →

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