#E7DF6A#E7DF6A

#E7DF6A is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.7% C 0.139 H 105.3°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#E7DF6A
RGBrgb(231, 223, 106)
HSLhsl(56, 72%, 66%)
HSVhsv(56, 54%, 91%)
CMYKcmyk(0%, 3.5%, 54.1%, 9.4%)
CIE-LABlab(87.39, -12.15, 57.39)
CIE-LCHlch(87.39, 58.66, 101.95°)
OKLaboklab(88.71% -0.0367 0.1339)
OKLCHoklch(88.71% 0.139 105.3)
XYZxyz(61.9460, 70.8068, 24.0369)
Luminance0.7080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF6A #6A72E7
analogous
#E7A06A #E7DF6A #B0E76A
triadic
#E7DF6A #6AE7DF #DF6AE7
tetradic
#E7DF6A #6AE7A0 #6A72E7 #E76AB0
square
#E7DF6A #6AE7A0 #6A72E7 #E76AB0
split-complementary
#E7DF6A #6AB0E7 #A06AE7
monochromatic
#B9AF1E #DFD435 #E7DF6A #EFEA9F #F8F6D3

Accessibility & contrast

On white

1.39
#E7DF6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#E7DF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF6A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF6A#FFFFFF#000000##000000
##E7DF6A1.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D85E
Deuteranopia (green-blind)
#F3DE70
Tritanopia (blue-blind)
#F6D2C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7df6a;
/* rgb */ color: rgb(231, 223, 106);
/* oklch */ color: oklch(88.7% 0.139 105.3);
Tailwind
colors: {
  custom: {
    50: '#f1e898',
    500: '#e7df6a',
    950: '#000000',
  },
}
SCSS
$custom: #e7df6a;
$custom-light: #f1e898;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df6a",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 106
  },
  "hsl": {
    "h": 56.16,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8871,
    "c": 0.13886,
    "h": 105.3
  },
  "luminance": 0.70805
}

Semantic roles & 50–950 ramp

primary
#E7DF6A
secondary
#3D45B9
accent
#1ED411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7DF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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