#EDE978#EDE978

#EDE978 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.4% C 0.136 H 107.0°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#EDE978
RGBrgb(237, 233, 120)
HSLhsl(58, 76%, 70%)
HSVhsv(58, 49%, 93%)
CMYKcmyk(0%, 1.7%, 49.4%, 7.1%)
CIE-LABlab(90.62, -13.55, 54.85)
CIE-LCHlch(90.62, 56.50, 103.88°)
OKLaboklab(91.44% -0.0396 0.1297)
OKLCHoklch(91.44% 0.136 107)
XYZxyz(67.4558, 77.6402, 29.1983)
Luminance0.7764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE978 #787CED
analogous
#EDAF78 #EDE978 #B6ED78
triadic
#EDE978 #78EDE9 #E978ED
tetradic
#EDE978 #78EDAF #787CED #ED78B6
square
#EDE978 #78EDAF #787CED #ED78B6
split-complementary
#EDE978 #78B6ED #AF78ED
monochromatic
#CFC91C #E6E042 #EDE978 #F4F2AE #FBFBE4

Accessibility & contrast

On white

1.27
#EDE978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#EDE978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE978
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE978#FFFFFF#000000##000000
##EDE9781.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E16E
Deuteranopia (green-blind)
#FCE67E
Tritanopia (blue-blind)
#FBDDCF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ede978;
/* rgb */ color: rgb(237, 233, 120);
/* oklch */ color: oklch(91.4% 0.136 107.0);
Tailwind
colors: {
  custom: {
    50: '#f5efa2',
    500: '#ede978',
    950: '#000000',
  },
}
SCSS
$custom: #ede978;
$custom-light: #f5efa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ede978",
  "rgb": {
    "r": 237,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 57.949,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.91439,
    "c": 0.13558,
    "h": 107
  },
  "luminance": 0.77638
}

Semantic roles & 50–950 ramp

primary
#EDE978
secondary
#4348C6
accent
#14D90D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #EDE978

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

Preview Lab → · Contrast checker → · Palette generator →

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