#E7DF7A#E7DF7A

#E7DF7A is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.9% C 0.124 H 104.6°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#E7DF7A
RGBrgb(231, 223, 122)
HSLhsl(56, 69%, 69%)
HSVhsv(56, 47%, 91%)
CMYKcmyk(0%, 3.5%, 47.2%, 9.4%)
CIE-LABlab(87.57, -10.79, 50.13)
CIE-LCHlch(87.57, 51.28, 102.15°)
OKLaboklab(88.91% -0.0311 0.1196)
OKLCHoklch(88.91% 0.124 104.6)
XYZxyz(62.8571, 71.1712, 28.8349)
Luminance0.7117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF7A #7A82E7
analogous
#E7A97A #E7DF7A #B9E77A
triadic
#E7DF7A #7AE7DF #DF7AE7
tetradic
#E7DF7A #7AE7A9 #7A82E7 #E77AB9
square
#E7DF7A #7AE7A9 #7A82E7 #E77AB9
split-complementary
#E7DF7A #7AB9E7 #A97AE7
monochromatic
#C3B823 #DED346 #E7DF7A #F0EBAE #FAF8E2

Accessibility & contrast

On white

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

On black

15.23
#E7DF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF7A
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF7A#FFFFFF#000000##000000
##E7DF7A1.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED971
Deuteranopia (green-blind)
#F2DE7F
Tritanopia (blue-blind)
#F5D3C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7df7a;
/* rgb */ color: rgb(231, 223, 122);
/* oklch */ color: oklch(88.9% 0.124 104.6);
Tailwind
colors: {
  custom: {
    50: '#f0e8a2',
    500: '#e7df7a',
    950: '#000000',
  },
}
SCSS
$custom: #e7df7a;
$custom-light: #f0e8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df7a",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 55.596,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88908,
    "c": 0.12356,
    "h": 104.6
  },
  "luminance": 0.71169
}

Semantic roles & 50–950 ramp

primary
#E7DF7A
secondary
#464FBF
accent
#22D114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7DF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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