#E7DC74#E7DC74

#E7DC74 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.2% C 0.126 H 103.2°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#E7DC74
RGBrgb(231, 220, 116)
HSLhsl(54, 71%, 68%)
HSVhsv(54, 50%, 91%)
CMYKcmyk(0%, 4.8%, 49.8%, 9.4%)
CIE-LABlab(86.72, -9.82, 51.96)
CIE-LCHlch(86.72, 52.88, 100.71°)
OKLaboklab(88.21% -0.029 0.1231)
OKLCHoklch(88.21% 0.126 103.2)
XYZxyz(61.7023, 69.4382, 26.6723)
Luminance0.6944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC74 #747FE7
analogous
#E7A274 #E7DC74 #B8E774
triadic
#E7DC74 #74E7DC #DC74E7
tetradic
#E7DC74 #74E7A2 #747FE7 #E774B8
square
#E7DC74 #74E7A2 #747FE7 #E774B8
split-complementary
#E7DC74 #74B8E7 #A274E7
monochromatic
#C0B021 #DECF40 #E7DC74 #F0E9A8 #F9F6DC

Accessibility & contrast

On white

1.41
#E7DC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#E7DC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC74
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC74#FFFFFF#000000##000000
##E7DC741.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66B
Deuteranopia (green-blind)
#F0DC79
Tritanopia (blue-blind)
#F5D0C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7dc74;
/* rgb */ color: rgb(231, 220, 116);
/* oklch */ color: oklch(88.2% 0.126 103.2);
Tailwind
colors: {
  custom: {
    50: '#f1e69e',
    500: '#e7dc74',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc74;
$custom-light: #f1e69e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc74",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 54.261,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88212,
    "c": 0.12647,
    "h": 103.2
  },
  "luminance": 0.69436
}

Semantic roles & 50–950 ramp

primary
#E7DC74
secondary
#414DBF
accent
#25D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7DC74

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

Preview Lab → · Contrast checker → · Palette generator →

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