#E7DF74#E7DF74

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

Color values

HEX#E7DF74
RGBrgb(231, 223, 116)
HSLhsl(56, 71%, 68%)
HSVhsv(56, 50%, 91%)
CMYKcmyk(0%, 3.5%, 49.8%, 9.4%)
CIE-LABlab(87.50, -11.33, 52.89)
CIE-LCHlch(87.50, 54.09, 102.09°)
OKLaboklab(88.83% -0.0333 0.1251)
OKLCHoklch(88.83% 0.129 104.9)
XYZxyz(62.4967, 71.0271, 26.9371)
Luminance0.7103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF74 #747CE7
analogous
#E7A574 #E7DF74 #B5E774
triadic
#E7DF74 #74E7DF #DF74E7
tetradic
#E7DF74 #74E7A5 #747CE7 #E774B5
square
#E7DF74 #74E7A5 #747CE7 #E774B5
split-complementary
#E7DF74 #74B5E7 #A574E7
monochromatic
#C0B521 #DED340 #E7DF74 #F0EBA8 #F9F7DC

Accessibility & contrast

On white

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

On black

15.21
#E7DF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF74
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF74#FFFFFF#000000##000000
##E7DF741.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7df74;
/* rgb */ color: rgb(231, 223, 116);
/* oklch */ color: oklch(88.8% 0.129 104.9);
Tailwind
colors: {
  custom: {
    50: '#f1e89e',
    500: '#e7df74',
    950: '#000000',
  },
}
SCSS
$custom: #e7df74;
$custom-light: #f1e89e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df74",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 55.826,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.8883,
    "c": 0.12949,
    "h": 104.9
  },
  "luminance": 0.71025
}

Semantic roles & 50–950 ramp

primary
#E7DF74
secondary
#4149BF
accent
#20D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7DF74

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

Preview Lab → · Contrast checker → · Palette generator →

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