#EDDD78#EDDD78

#EDDD78 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.0% C 0.124 H 100.4°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#EDDD78
RGBrgb(237, 221, 120)
HSLhsl(52, 76%, 70%)
HSVhsv(52, 49%, 93%)
CMYKcmyk(0%, 6.8%, 49.4%, 7.1%)
CIE-LABlab(87.52, -7.57, 51.15)
CIE-LCHlch(87.52, 51.70, 98.42°)
OKLaboklab(88.98% -0.0224 0.1216)
OKLCHoklch(88.98% 0.124 100.4)
XYZxyz(64.1735, 71.0757, 28.1043)
Luminance0.7107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDDD78 #7888ED
analogous
#EDA378 #EDDD78 #C2ED78
triadic
#EDDD78 #78EDDD #DD78ED
tetradic
#EDDD78 #78EDA3 #7888ED #ED78C2
square
#EDDD78 #78EDA3 #7888ED #ED78C2
split-complementary
#EDDD78 #78C2ED #A378ED
monochromatic
#CFB61C #E6CF42 #EDDD78 #F4EBAE #FBF8E4

Accessibility & contrast

On white

1.38
#EDDD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#EDDD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDDD78
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDDD78#FFFFFF#000000##000000
##EDDD781.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86F
Deuteranopia (green-blind)
#F2DE7C
Tritanopia (blue-blind)
#FCD1C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #eddd78;
/* rgb */ color: rgb(237, 221, 120);
/* oklch */ color: oklch(89.0% 0.124 100.4);
Tailwind
colors: {
  custom: {
    50: '#f5e7a1',
    500: '#eddd78',
    950: '#000000',
  },
}
SCSS
$custom: #eddd78;
$custom-light: #f5e7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#eddd78",
  "rgb": {
    "r": 237,
    "g": 221,
    "b": 120
  },
  "hsl": {
    "h": 51.795,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.88982,
    "c": 0.12361,
    "h": 100.4
  },
  "luminance": 0.71073
}

Semantic roles & 50–950 ramp

primary
#EDDD78
secondary
#4355C6
accent
#29D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EDDD78

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

Preview Lab → · Contrast checker → · Palette generator →

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