#EDD778#EDD778

#EDD778 is a very light, moderate yellow. Relative luminance 0.680; OKLCH L 87.8% C 0.118 H 96.6°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#EDD778
RGBrgb(237, 215, 120)
HSLhsl(49, 76%, 70%)
HSVhsv(49, 49%, 93%)
CMYKcmyk(0%, 9.3%, 49.4%, 7.1%)
CIE-LABlab(85.99, -4.54, 49.29)
CIE-LCHlch(85.99, 49.50, 95.26°)
OKLaboklab(87.77% -0.0137 0.1175)
OKLCHoklch(87.77% 0.118 96.6)
XYZxyz(62.6176, 67.9639, 27.5856)
Luminance0.6796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD778 #788EED
analogous
#ED9C78 #EDD778 #C9ED78
triadic
#EDD778 #78EDD7 #D778ED
tetradic
#EDD778 #78ED9C #788EED #ED78C9
square
#EDD778 #78ED9C #788EED #ED78C9
split-complementary
#EDD778 #78C9ED #9C78ED
monochromatic
#CFAD1C #E6C742 #EDD778 #F4E7AE #FBF7E4

Accessibility & contrast

On white

1.44
#EDD778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#EDD778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD778
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD778#FFFFFF#000000##000000
##EDD7781.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D370
Deuteranopia (green-blind)
#EEDA7C
Tritanopia (blue-blind)
#FCCAC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #edd778;
/* rgb */ color: rgb(237, 215, 120);
/* oklch */ color: oklch(87.8% 0.118 96.6);
Tailwind
colors: {
  custom: {
    50: '#f5e3a1',
    500: '#edd778',
    950: '#000000',
  },
}
SCSS
$custom: #edd778;
$custom-light: #f5e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#edd778",
  "rgb": {
    "r": 237,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 48.718,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.87768,
    "c": 0.11826,
    "h": 96.6
  },
  "luminance": 0.67961
}

Semantic roles & 50–950 ramp

primary
#EDD778
secondary
#435CC6
accent
#33D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EDD778

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

Preview Lab → · Contrast checker → · Palette generator →

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