#E7DE4C#E7DE4C

#E7DE4C is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.2% C 0.162 H 105.8°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#E7DE4C
RGBrgb(231, 222, 76)
HSLhsl(57, 76%, 60%)
HSVhsv(57, 67%, 91%)
CMYKcmyk(0%, 3.9%, 67.1%, 9.4%)
CIE-LABlab(86.88, -13.61, 69.43)
CIE-LCHlch(86.88, 70.75, 101.09°)
OKLaboklab(88.22% -0.044 0.1555)
OKLCHoklch(88.22% 0.162 105.8)
XYZxyz(60.3831, 69.7554, 17.1195)
Luminance0.6975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DE4C #4C55E7
analogous
#E7904C #E7DE4C #A3E74C
triadic
#E7DE4C #4CE7DE #DE4CE7
tetradic
#E7DE4C #4CE790 #4C55E7 #E74CA3
square
#E7DE4C #4CE790 #4C55E7 #E74CA3
split-complementary
#E7DE4C #4CA3E7 #904CE7
monochromatic
#A39B16 #D9CE1D #E7DE4C #EEE882 #F5F2B8

Accessibility & contrast

On white

1.40
#E7DE4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#E7DE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DE4C
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DE4C#FFFFFF#000000##000000
##E7DE4C1.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D637
Deuteranopia (green-blind)
#F4DC55
Tritanopia (blue-blind)
#F7D0C1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7de4c;
/* rgb */ color: rgb(231, 222, 76);
/* oklch */ color: oklch(88.2% 0.162 105.8);
Tailwind
colors: {
  custom: {
    50: '#f2e886',
    500: '#e7de4c',
    950: '#000000',
  },
}
SCSS
$custom: #e7de4c;
$custom-light: #f2e886;
$custom-dark: #000000;
JSON
{
  "hex": "#e7de4c",
  "rgb": {
    "r": 231,
    "g": 222,
    "b": 76
  },
  "hsl": {
    "h": 56.516,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88219,
    "c": 0.16159,
    "h": 105.8
  },
  "luminance": 0.69753
}

Semantic roles & 50–950 ramp

primary
#E7DE4C
secondary
#3239A5
accent
#19D90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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