#EDEC56#EDEC56

#EDEC56 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.7% C 0.167 H 108.9°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#EDEC56
RGBrgb(237, 236, 86)
HSLhsl(60, 81%, 63%)
HSVhsv(60, 64%, 93%)
CMYKcmyk(0%, 0.4%, 63.7%, 7.1%)
CIE-LABlab(91.08, -17.46, 70.04)
CIE-LCHlch(91.08, 72.18, 104.00°)
OKLaboklab(91.71% -0.0542 0.1582)
OKLCHoklch(91.71% 0.167 108.9)
XYZxyz(66.6024, 78.6692, 20.4786)
Luminance0.7867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC56 #5657ED
analogous
#EDA156 #EDEC56 #A2ED56
triadic
#EDEC56 #56EDEC #EC56ED
tetradic
#EDEC56 #56EDA1 #5657ED #ED56A2
square
#EDEC56 #56EDA1 #5657ED #ED56A2
split-complementary
#EDEC56 #56A2ED #A156ED
monochromatic
#B5B413 #E7E61F #EDEC56 #F3F28D #F9F8C5

Accessibility & contrast

On white

1.25
#EDEC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#EDEC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC56
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC56#FFFFFF#000000##000000
##EDEC561.001.2516.7316.73
#FFFFFF1.251.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE342
Deuteranopia (green-blind)
#FFE860
Tritanopia (blue-blind)
#FDDECD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #edec56;
/* rgb */ color: rgb(237, 236, 86);
/* oklch */ color: oklch(91.7% 0.167 108.9);
Tailwind
colors: {
  custom: {
    50: '#f6f18d',
    500: '#edec56',
    950: '#000000',
  },
}
SCSS
$custom: #edec56;
$custom-light: #f6f18d;
$custom-dark: #000000;
JSON
{
  "hex": "#edec56",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 59.603,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91713,
    "c": 0.16719,
    "h": 108.9
  },
  "luminance": 0.78667
}

Semantic roles & 50–950 ramp

primary
#EDEC56
secondary
#3233B5
accent
#0ADD08
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #EDEC56

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

Preview Lab → · Contrast checker → · Palette generator →

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