#EDEC8A#EDEC8A

#EDEC8A is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.3% C 0.121 H 108.0°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#EDEC8A
RGBrgb(237, 236, 138)
HSLhsl(59, 73%, 74%)
HSVhsv(59, 42%, 93%)
CMYKcmyk(0%, 0.4%, 41.8%, 7.1%)
CIE-LABlab(91.61, -13.36, 47.51)
CIE-LCHlch(91.61, 49.35, 105.70°)
OKLaboklab(92.3% -0.0374 0.1147)
OKLCHoklch(92.3% 0.121 108)
XYZxyz(69.5091, 79.8319, 35.7873)
Luminance0.7983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC8A #8A8BED
analogous
#EDBA8A #EDEC8A #BCED8A
triadic
#EDEC8A #8AEDEC #EC8AED
tetradic
#EDEC8A #8AEDBA #8A8BED #ED8ABC
square
#EDEC8A #8AEDBA #8A8BED #ED8ABC
split-complementary
#EDEC8A #8ABCED #BA8AED
monochromatic
#DBD922 #E5E355 #EDEC8A #F5F5BF #FBFBE4

Accessibility & contrast

On white

1.24
#EDEC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#EDEC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC8A
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC8A#FFFFFF#000000##000000
##EDEC8A1.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE582
Deuteranopia (green-blind)
#FCE98E
Tritanopia (blue-blind)
#FAE1D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #edec8a;
/* rgb */ color: rgb(237, 236, 138);
/* oklch */ color: oklch(92.3% 0.121 108.0);
Tailwind
colors: {
  custom: {
    50: '#f4f2ae',
    500: '#edec8a',
    950: '#000000',
  },
}
SCSS
$custom: #edec8a;
$custom-light: #f4f2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#edec8a",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 59.394,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.923,
    "c": 0.12067,
    "h": 108
  },
  "luminance": 0.7983
}

Semantic roles & 50–950 ramp

primary
#EDEC8A
secondary
#5355C8
accent
#12D510
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EDEC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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