#EDDE78#EDDE78

#EDDE78 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.2% C 0.125 H 101.0°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#EDDE78
RGBrgb(237, 222, 120)
HSLhsl(52, 76%, 70%)
HSVhsv(52, 49%, 93%)
CMYKcmyk(0%, 6.3%, 49.4%, 7.1%)
CIE-LABlab(87.78, -8.08, 51.45)
CIE-LCHlch(87.78, 52.08, 98.92°)
OKLaboklab(89.19% -0.0239 0.1222)
OKLCHoklch(89.19% 0.125 101)
XYZxyz(64.4383, 71.6054, 28.1925)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDDE78 #7887ED
analogous
#EDA478 #EDDE78 #C1ED78
triadic
#EDDE78 #78EDDE #DE78ED
tetradic
#EDDE78 #78EDA4 #7887ED #ED78C1
square
#EDDE78 #78EDA4 #7887ED #ED78C1
split-complementary
#EDDE78 #78C1ED #A478ED
monochromatic
#CFB81C #E6D142 #EDDE78 #F4EBAE #FBF8E4

Accessibility & contrast

On white

1.37
#EDDE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#EDDE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDDE78
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDDE78#FFFFFF#000000##000000
##EDDE781.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86F
Deuteranopia (green-blind)
#F3DF7D
Tritanopia (blue-blind)
#FCD2C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #edde78;
/* rgb */ color: rgb(237, 222, 120);
/* oklch */ color: oklch(89.2% 0.125 101.0);
Tailwind
colors: {
  custom: {
    50: '#f5e8a1',
    500: '#edde78',
    950: '#000000',
  },
}
SCSS
$custom: #edde78;
$custom-light: #f5e8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#edde78",
  "rgb": {
    "r": 237,
    "g": 222,
    "b": 120
  },
  "hsl": {
    "h": 52.308,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.89186,
    "c": 0.12455,
    "h": 101
  },
  "luminance": 0.71603
}

Semantic roles & 50–950 ramp

primary
#EDDE78
secondary
#4354C6
accent
#27D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EDDE78

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

Preview Lab → · Contrast checker → · Palette generator →

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