#EDE778#EDE778

#EDE778 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.0% C 0.133 H 106.0°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#EDE778
RGBrgb(237, 231, 120)
HSLhsl(57, 76%, 70%)
HSVhsv(57, 49%, 93%)
CMYKcmyk(0%, 2.5%, 49.4%, 7.1%)
CIE-LABlab(90.10, -12.57, 54.23)
CIE-LCHlch(90.10, 55.67, 103.05°)
OKLaboklab(91.03% -0.0368 0.1283)
OKLCHoklch(91.03% 0.133 106)
XYZxyz(66.8928, 76.5143, 29.0107)
Luminance0.7651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE778 #787EED
analogous
#EDAC78 #EDE778 #B9ED78
triadic
#EDE778 #78EDE7 #E778ED
tetradic
#EDE778 #78EDAC #787EED #ED78B9
square
#EDE778 #78EDAC #787EED #ED78B9
split-complementary
#EDE778 #78B9ED #AC78ED
monochromatic
#CFC61C #E6DD42 #EDE778 #F4F1AE #FBFAE4

Accessibility & contrast

On white

1.29
#EDE778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#EDE778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE778
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE778#FFFFFF#000000##000000
##EDE7781.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06E
Deuteranopia (green-blind)
#FAE57D
Tritanopia (blue-blind)
#FBDBCD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ede778;
/* rgb */ color: rgb(237, 231, 120);
/* oklch */ color: oklch(91.0% 0.133 106.0);
Tailwind
colors: {
  custom: {
    50: '#f5eea1',
    500: '#ede778',
    950: '#000000',
  },
}
SCSS
$custom: #ede778;
$custom-light: #f5eea1;
$custom-dark: #000000;
JSON
{
  "hex": "#ede778",
  "rgb": {
    "r": 237,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 56.923,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.91027,
    "c": 0.13349,
    "h": 106
  },
  "luminance": 0.76512
}

Semantic roles & 50–950 ramp

primary
#EDE778
secondary
#434AC6
accent
#17D90D
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EDE778

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

Preview Lab → · Contrast checker → · Palette generator →

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