#E2D779#E2D779

#E2D779 is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.8% C 0.116 H 102.6°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#E2D779
RGBrgb(226, 215, 121)
HSLhsl(54, 64%, 68%)
HSVhsv(54, 46%, 89%)
CMYKcmyk(0%, 4.9%, 46.5%, 11.4%)
CIE-LABlab(85.07, -8.86, 47.48)
CIE-LCHlch(85.07, 48.30, 100.57°)
OKLaboklab(86.83% -0.0254 0.1137)
OKLCHoklch(86.83% 0.116 102.6)
XYZxyz(59.1171, 66.1519, 27.7400)
Luminance0.6615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D779 #7984E2
analogous
#E2A279 #E2D779 #B8E279
triadic
#E2D779 #79E2D7 #D779E2
tetradic
#E2D779 #79E2A2 #7984E2 #E279B8
square
#E2D779 #79E2A2 #7984E2 #E279B8
split-complementary
#E2D779 #79B8E2 #A279E2
monochromatic
#B9A928 #D7C847 #E2D779 #EDE6AB #F8F5DE

Accessibility & contrast

On white

1.48
#E2D779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#E2D779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D779
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D779#FFFFFF#000000##000000
##E2D7791.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D171
Deuteranopia (green-blind)
#EAD77D
Tritanopia (blue-blind)
#F0CCC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d779;
/* rgb */ color: rgb(226, 215, 121);
/* oklch */ color: oklch(86.8% 0.116 102.6);
Tailwind
colors: {
  custom: {
    50: '#ede3a1',
    500: '#e2d779',
    950: '#000000',
  },
}
SCSS
$custom: #e2d779;
$custom-light: #ede3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d779",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 121
  },
  "hsl": {
    "h": 53.714,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86826,
    "c": 0.11649,
    "h": 102.6
  },
  "luminance": 0.6615
}

Semantic roles & 50–950 ramp

primary
#E2D779
secondary
#4652B9
accent
#2CCC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E2D779

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

Preview Lab → · Contrast checker → · Palette generator →

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