#EDEC5D#EDEC5D

#EDEC5D is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.8% C 0.162 H 108.8°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#EDEC5D
RGBrgb(237, 236, 93)
HSLhsl(60, 80%, 65%)
HSVhsv(60, 61%, 93%)
CMYKcmyk(0%, 0.4%, 60.8%, 7.1%)
CIE-LABlab(91.14, -17.04, 67.30)
CIE-LCHlch(91.14, 69.42, 104.21°)
OKLaboklab(91.77% -0.0523 0.1534)
OKLCHoklch(91.77% 0.162 108.8)
XYZxyz(66.8984, 78.7876, 22.0373)
Luminance0.7879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC5D #5D5EED
analogous
#EDA45D #EDEC5D #A6ED5D
triadic
#EDEC5D #5DEDEC #EC5DED
tetradic
#EDEC5D #5DEDA4 #5D5EED #ED5DA6
square
#EDEC5D #5DEDA4 #5D5EED #ED5DA6
split-complementary
#EDEC5D #5DA6ED #A45DED
monochromatic
#BBBA15 #E7E626 #EDEC5D #F3F294 #F9F9CB

Accessibility & contrast

On white

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

On black

16.76
#EDEC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC5D
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC5D#FFFFFF#000000##000000
##EDEC5D1.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE34C
Deuteranopia (green-blind)
#FFE866
Tritanopia (blue-blind)
#FDDECE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #edec5d;
/* rgb */ color: rgb(237, 236, 93);
/* oklch */ color: oklch(91.8% 0.162 108.8);
Tailwind
colors: {
  custom: {
    50: '#f6f191',
    500: '#edec5d',
    950: '#000000',
  },
}
SCSS
$custom: #edec5d;
$custom-light: #f6f191;
$custom-dark: #000000;
JSON
{
  "hex": "#edec5d",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 93
  },
  "hsl": {
    "h": 59.583,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91773,
    "c": 0.16203,
    "h": 108.8
  },
  "luminance": 0.78786
}

Semantic roles & 50–950 ramp

primary
#EDEC5D
secondary
#3435BA
accent
#0BDC09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #EDEC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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