#E7DF7D#E7DF7D

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

Color values

HEX#E7DF7D
RGBrgb(231, 223, 125)
HSLhsl(55, 69%, 70%)
HSVhsv(55, 46%, 91%)
CMYKcmyk(0%, 3.5%, 45.9%, 9.4%)
CIE-LABlab(87.60, -10.52, 48.73)
CIE-LCHlch(87.60, 49.86, 102.18°)
OKLaboklab(88.95% -0.0301 0.1167)
OKLCHoklch(88.95% 0.121 104.4)
XYZxyz(63.0458, 71.2467, 29.8290)
Luminance0.7125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF7D #7D85E7
analogous
#E7AA7D #E7DF7D #BAE77D
triadic
#E7DF7D #7DE7DF #DF7DE7
tetradic
#E7DF7D #7DE7AA #7D85E7 #E77DBA
square
#E7DF7D #7DE7AA #7D85E7 #E77DBA
split-complementary
#E7DF7D #7DBAE7 #AA7DE7
monochromatic
#C5B924 #DDD249 #E7DF7D #F1ECB1 #FAF8E4

Accessibility & contrast

On white

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

On black

15.25
#E7DF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF7D
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF7D#FFFFFF#000000##000000
##E7DF7D1.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED975
Deuteranopia (green-blind)
#F1DE81
Tritanopia (blue-blind)
#F5D3C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7df7d;
/* rgb */ color: rgb(231, 223, 125);
/* oklch */ color: oklch(88.9% 0.121 104.4);
Tailwind
colors: {
  custom: {
    50: '#f0e8a4',
    500: '#e7df7d',
    950: '#000000',
  },
}
SCSS
$custom: #e7df7d;
$custom-light: #f0e8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df7d",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 55.472,
    "s": 68.831,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88949,
    "c": 0.12051,
    "h": 104.4
  },
  "luminance": 0.71245
}

Semantic roles & 50–950 ramp

primary
#E7DF7D
secondary
#4952BF
accent
#23D115
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E7DF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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