#E7D374#E7D374

#E7D374 is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.4% C 0.118 H 97.7°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#E7D374
RGBrgb(231, 211, 116)
HSLhsl(50, 71%, 68%)
HSVhsv(50, 50%, 91%)
CMYKcmyk(0%, 8.7%, 49.8%, 9.4%)
CIE-LABlab(84.40, -5.27, 49.18)
CIE-LCHlch(84.40, 49.46, 96.12°)
OKLaboklab(86.37% -0.0159 0.117)
OKLCHoklch(86.37% 0.118 97.7)
XYZxyz(59.4035, 64.8407, 25.9060)
Luminance0.6484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D374 #7488E7
analogous
#E79974 #E7D374 #C1E774
triadic
#E7D374 #74E7D3 #D374E7
tetradic
#E7D374 #74E799 #7488E7 #E774C1
square
#E7D374 #74E799 #7488E7 #E774C1
split-complementary
#E7D374 #74C1E7 #9974E7
monochromatic
#C0A421 #DEC240 #E7D374 #F0E4A8 #F9F4DC

Accessibility & contrast

On white

1.50
#E7D374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#E7D374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D374
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D374#FFFFFF#000000##000000
##E7D3741.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF6C
Deuteranopia (green-blind)
#E9D678
Tritanopia (blue-blind)
#F6C7BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d374;
/* rgb */ color: rgb(231, 211, 116);
/* oklch */ color: oklch(86.4% 0.118 97.7);
Tailwind
colors: {
  custom: {
    50: '#f1e09e',
    500: '#e7d374',
    950: '#000000',
  },
}
SCSS
$custom: #e7d374;
$custom-light: #f1e09e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d374",
  "rgb": {
    "r": 231,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 49.565,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86374,
    "c": 0.11806,
    "h": 97.7
  },
  "luminance": 0.64838
}

Semantic roles & 50–950 ramp

primary
#E7D374
secondary
#4157BF
accent
#34D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D374

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

Preview Lab → · Contrast checker → · Palette generator →

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