#E7DF7C#E7DF7C

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

Color values

HEX#E7DF7C
RGBrgb(231, 223, 124)
HSLhsl(56, 69%, 70%)
HSVhsv(56, 46%, 91%)
CMYKcmyk(0%, 3.5%, 46.3%, 9.4%)
CIE-LABlab(87.59, -10.61, 49.20)
CIE-LCHlch(87.59, 50.33, 102.17°)
OKLaboklab(88.94% -0.0304 0.1177)
OKLCHoklch(88.94% 0.122 104.5)
XYZxyz(62.9822, 71.2213, 29.4943)
Luminance0.7122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF7C #7C84E7
analogous
#E7AA7C #E7DF7C #BAE77C
triadic
#E7DF7C #7CE7DF #DF7CE7
tetradic
#E7DF7C #7CE7AA #7C84E7 #E77CBA
square
#E7DF7C #7CE7AA #7C84E7 #E77CBA
split-complementary
#E7DF7C #7CBAE7 #AA7CE7
monochromatic
#C5B924 #DED248 #E7DF7C #F0ECB0 #FAF8E3

Accessibility & contrast

On white

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

On black

15.24
#E7DF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF7C
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF7C#FFFFFF#000000##000000
##E7DF7C1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7df7c;
/* rgb */ color: rgb(231, 223, 124);
/* oklch */ color: oklch(88.9% 0.122 104.5);
Tailwind
colors: {
  custom: {
    50: '#f0e8a4',
    500: '#e7df7c',
    950: '#000000',
  },
}
SCSS
$custom: #e7df7c;
$custom-light: #f0e8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df7c",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 124
  },
  "hsl": {
    "h": 55.514,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88935,
    "c": 0.12153,
    "h": 104.5
  },
  "luminance": 0.7122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7DF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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