#E7DF70#E7DF70

#E7DF70 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.8% C 0.133 H 105.1°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#E7DF70
RGBrgb(231, 223, 112)
HSLhsl(56, 71%, 67%)
HSVhsv(56, 52%, 91%)
CMYKcmyk(0%, 3.5%, 51.5%, 9.4%)
CIE-LABlab(87.45, -11.66, 54.71)
CIE-LCHlch(87.45, 55.94, 102.04°)
OKLaboklab(88.78% -0.0346 0.1287)
OKLCHoklch(88.78% 0.133 105.1)
XYZxyz(62.2690, 70.9360, 25.7380)
Luminance0.7093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF70 #7078E7
analogous
#E7A370 #E7DF70 #B4E770
triadic
#E7DF70 #70E7DF #DF70E7
tetradic
#E7DF70 #70E7A3 #7078E7 #E770B4
square
#E7DF70 #70E7A3 #7078E7 #E770B4
split-complementary
#E7DF70 #70B4E7 #A370E7
monochromatic
#BDB220 #DED33C #E7DF70 #F0EBA4 #F9F6D9

Accessibility & contrast

On white

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

On black

15.19
#E7DF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF70
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF70#FFFFFF#000000##000000
##E7DF701.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD866
Deuteranopia (green-blind)
#F2DE75
Tritanopia (blue-blind)
#F6D3C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7df70;
/* rgb */ color: rgb(231, 223, 112);
/* oklch */ color: oklch(88.8% 0.133 105.1);
Tailwind
colors: {
  custom: {
    50: '#f1e89c',
    500: '#e7df70',
    950: '#000000',
  },
}
SCSS
$custom: #e7df70;
$custom-light: #f1e89c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df70",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 112
  },
  "hsl": {
    "h": 55.966,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8878,
    "c": 0.13331,
    "h": 105.1
  },
  "luminance": 0.70934
}

Semantic roles & 50–950 ramp

primary
#E7DF70
secondary
#3F47BC
accent
#1FD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7DF70

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

Preview Lab → · Contrast checker → · Palette generator →

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