#E7D474#E7D474

#E7D474 is a very light, moderate yellow. Relative luminance 0.653; OKLCH L 86.6% C 0.119 H 98.4°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#E7D474
RGBrgb(231, 212, 116)
HSLhsl(50, 71%, 68%)
HSVhsv(50, 50%, 91%)
CMYKcmyk(0%, 8.2%, 49.8%, 9.4%)
CIE-LABlab(84.66, -5.78, 49.49)
CIE-LCHlch(84.66, 49.82, 96.67°)
OKLaboklab(86.58% -0.0173 0.1177)
OKLCHoklch(86.58% 0.119 98.4)
XYZxyz(59.6527, 65.3391, 25.9891)
Luminance0.6534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D474 #7487E7
analogous
#E79A74 #E7D474 #C0E774
triadic
#E7D474 #74E7D4 #D474E7
tetradic
#E7D474 #74E79A #7487E7 #E774C0
square
#E7D474 #74E79A #7487E7 #E774C0
split-complementary
#E7D474 #74C0E7 #9A74E7
monochromatic
#C0A521 #DEC440 #E7D474 #F0E4A8 #F9F4DC

Accessibility & contrast

On white

1.49
#E7D474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#E7D474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D474
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D474#FFFFFF#000000##000000
##E7D4741.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6C
Deuteranopia (green-blind)
#EAD678
Tritanopia (blue-blind)
#F6C8BE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d474;
/* rgb */ color: rgb(231, 212, 116);
/* oklch */ color: oklch(86.6% 0.119 98.4);
Tailwind
colors: {
  custom: {
    50: '#f1e19e',
    500: '#e7d474',
    950: '#000000',
  },
}
SCSS
$custom: #e7d474;
$custom-light: #f1e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d474",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 50.087,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86577,
    "c": 0.11894,
    "h": 98.4
  },
  "luminance": 0.65337
}

Semantic roles & 50–950 ramp

primary
#E7D474
secondary
#4155BF
accent
#33D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D474

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

Preview Lab → · Contrast checker → · Palette generator →

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