#E7DF6F#E7DF6F

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

Color values

HEX#E7DF6F
RGBrgb(231, 223, 111)
HSLhsl(56, 71%, 67%)
HSVhsv(56, 52%, 91%)
CMYKcmyk(0%, 3.5%, 51.9%, 9.4%)
CIE-LABlab(87.44, -11.75, 55.16)
CIE-LCHlch(87.44, 56.39, 102.02°)
OKLaboklab(88.77% -0.035 0.1296)
OKLCHoklch(88.77% 0.134 105.1)
XYZxyz(62.2137, 70.9139, 25.4464)
Luminance0.7091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF6F #6F77E7
analogous
#E7A36F #E7DF6F #B3E76F
triadic
#E7DF6F #6FE7DF #DF6FE7
tetradic
#E7DF6F #6FE7A3 #6F77E7 #E76FB3
square
#E7DF6F #6FE7A3 #6F77E7 #E76FB3
split-complementary
#E7DF6F #6FB3E7 #A36FE7
monochromatic
#BCB21F #DED33B #E7DF6F #F0EBA3 #F8F6D8

Accessibility & contrast

On white

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

On black

15.18
#E7DF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF6F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF6F#FFFFFF#000000##000000
##E7DF6F1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD864
Deuteranopia (green-blind)
#F3DE74
Tritanopia (blue-blind)
#F6D2C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7df6f;
/* rgb */ color: rgb(231, 223, 111);
/* oklch */ color: oklch(88.8% 0.134 105.1);
Tailwind
colors: {
  custom: {
    50: '#f1e89b',
    500: '#e7df6f',
    950: '#000000',
  },
}
SCSS
$custom: #e7df6f;
$custom-light: #f1e89b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df6f",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 111
  },
  "hsl": {
    "h": 56,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88768,
    "c": 0.13426,
    "h": 105.1
  },
  "luminance": 0.70912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7DF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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