#E7D477#E7D477

#E7D477 is a very light, moderate yellow. Relative luminance 0.654; OKLCH L 86.6% C 0.116 H 98.1°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#E7D477
RGBrgb(231, 212, 119)
HSLhsl(50, 70%, 69%)
HSVhsv(50, 48%, 91%)
CMYKcmyk(0%, 8.2%, 48.5%, 9.4%)
CIE-LABlab(84.69, -5.52, 48.08)
CIE-LCHlch(84.69, 48.40, 96.54°)
OKLaboklab(86.62% -0.0162 0.1148)
OKLCHoklch(86.62% 0.116 98.1)
XYZxyz(59.8300, 65.4100, 26.9230)
Luminance0.6541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D477 #778AE7
analogous
#E79C77 #E7D477 #C2E777
triadic
#E7D477 #77E7D4 #D477E7
tetradic
#E7D477 #77E79C #778AE7 #E777C2
square
#E7D477 #77E79C #778AE7 #E777C2
split-complementary
#E7D477 #77C2E7 #9C77E7
monochromatic
#C1A622 #DEC443 #E7D477 #F0E4AB #F9F5DF

Accessibility & contrast

On white

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

On black

14.08
#E7D477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D477
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D477#FFFFFF#000000##000000
##E7D4771.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d477;
/* rgb */ color: rgb(231, 212, 119);
/* oklch */ color: oklch(86.6% 0.116 98.1);
Tailwind
colors: {
  custom: {
    50: '#f1e1a0',
    500: '#e7d477',
    950: '#000000',
  },
}
SCSS
$custom: #e7d477;
$custom-light: #f1e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d477",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 49.821,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86618,
    "c": 0.11595,
    "h": 98.1
  },
  "luminance": 0.65408
}

Semantic roles & 50–950 ramp

primary
#E7D477
secondary
#4358BF
accent
#34D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D477

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

Preview Lab → · Contrast checker → · Palette generator →

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