#E7D77F#E7D77F

#E7D77F is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.110 H 99.2°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#E7D77F
RGBrgb(231, 215, 127)
HSLhsl(51, 68%, 70%)
HSVhsv(51, 45%, 91%)
CMYKcmyk(0%, 6.9%, 45%, 9.4%)
CIE-LABlab(85.57, -6.29, 45.24)
CIE-LCHlch(85.57, 45.68, 97.92°)
OKLaboklab(87.34% -0.0177 0.1091)
OKLCHoklch(87.34% 0.11 99.2)
XYZxyz(61.0878, 67.1242, 29.8130)
Luminance0.6712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D77F #7F8FE7
analogous
#E7A37F #E7D77F #C3E77F
triadic
#E7D77F #7FE7D7 #D77FE7
tetradic
#E7D77F #7FE7A3 #7F8FE7 #E77FC3
square
#E7D77F #7FE7A3 #7F8FE7 #E77FC3
split-complementary
#E7D77F #7FC3E7 #A37FE7
monochromatic
#C6AE25 #DDC74B #E7D77F #F1E7B3 #FAF7E5

Accessibility & contrast

On white

1.46
#E7D77F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#E7D77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D77F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D77F#FFFFFF#000000##000000
##E7D77F1.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D278
Deuteranopia (green-blind)
#EBD983
Tritanopia (blue-blind)
#F5CCC2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d77f;
/* rgb */ color: rgb(231, 215, 127);
/* oklch */ color: oklch(87.3% 0.110 99.2);
Tailwind
colors: {
  custom: {
    50: '#f0e3a5',
    500: '#e7d77f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d77f;
$custom-light: #f0e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d77f",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 127
  },
  "hsl": {
    "h": 50.769,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87341,
    "c": 0.11048,
    "h": 99.2
  },
  "luminance": 0.67122
}

Semantic roles & 50–950 ramp

primary
#E7D77F
secondary
#4B5DBF
accent
#32D015
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D77F

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

Preview Lab → · Contrast checker → · Palette generator →

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