#E7D277#E7D277

#E7D277 is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 86.2% C 0.114 H 96.7°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#E7D277
RGBrgb(231, 210, 119)
HSLhsl(49, 70%, 69%)
HSVhsv(49, 48%, 91%)
CMYKcmyk(0%, 9.1%, 48.5%, 9.4%)
CIE-LABlab(84.18, -4.50, 47.45)
CIE-LCHlch(84.18, 47.67, 95.41°)
OKLaboklab(86.21% -0.0133 0.1134)
OKLCHoklch(86.21% 0.114 96.7)
XYZxyz(59.3332, 64.4163, 26.7574)
Luminance0.6441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D277 #778CE7
analogous
#E79A77 #E7D277 #C4E777
triadic
#E7D277 #77E7D2 #D277E7
tetradic
#E7D277 #77E79A #778CE7 #E777C4
square
#E7D277 #77E79A #778CE7 #E777C4
split-complementary
#E7D277 #77C4E7 #9A77E7
monochromatic
#C1A422 #DEC143 #E7D277 #F0E3AB #F9F4DF

Accessibility & contrast

On white

1.51
#E7D277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#E7D277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D277
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D277#FFFFFF#000000##000000
##E7D2771.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE6F
Deuteranopia (green-blind)
#E8D57B
Tritanopia (blue-blind)
#F6C6BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d277;
/* rgb */ color: rgb(231, 210, 119);
/* oklch */ color: oklch(86.2% 0.114 96.7);
Tailwind
colors: {
  custom: {
    50: '#f1dfa0',
    500: '#e7d277',
    950: '#000000',
  },
}
SCSS
$custom: #e7d277;
$custom-light: #f1dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d277",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 119
  },
  "hsl": {
    "h": 48.75,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86212,
    "c": 0.1142,
    "h": 96.7
  },
  "luminance": 0.64414
}

Semantic roles & 50–950 ramp

primary
#E7D277
secondary
#435BBF
accent
#37D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D277

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

Preview Lab → · Contrast checker → · Palette generator →

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