#EDEC5A#EDEC5A

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

Color values

HEX#EDEC5A
RGBrgb(237, 236, 90)
HSLhsl(60, 80%, 64%)
HSVhsv(60, 62%, 93%)
CMYKcmyk(0%, 0.4%, 62%, 7.1%)
CIE-LABlab(91.11, -17.23, 68.49)
CIE-LCHlch(91.11, 70.62, 104.12°)
OKLaboklab(91.75% -0.0531 0.1555)
OKLCHoklch(91.75% 0.164 108.9)
XYZxyz(66.7681, 78.7355, 21.3512)
Luminance0.7873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC5A #5A5BED
analogous
#EDA35A #EDEC5A #A5ED5A
triadic
#EDEC5A #5AEDEC #EC5AED
tetradic
#EDEC5A #5AEDA3 #5A5BED #ED5AA5
square
#EDEC5A #5AEDA3 #5A5BED #ED5AA5
split-complementary
#EDEC5A #5AA5ED #A35AED
monochromatic
#B8B714 #E7E623 #EDEC5A #F3F291 #F9F9C8

Accessibility & contrast

On white

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

On black

16.75
#EDEC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC5A
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC5A#FFFFFF#000000##000000
##EDEC5A1.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE348
Deuteranopia (green-blind)
#FFE863
Tritanopia (blue-blind)
#FDDECE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #edec5a;
/* rgb */ color: rgb(237, 236, 90);
/* oklch */ color: oklch(91.7% 0.164 108.9);
Tailwind
colors: {
  custom: {
    50: '#f6f18f',
    500: '#edec5a',
    950: '#000000',
  },
}
SCSS
$custom: #edec5a;
$custom-light: #f6f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#edec5a",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 59.592,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91746,
    "c": 0.16429,
    "h": 108.9
  },
  "luminance": 0.78734
}

Semantic roles & 50–950 ramp

primary
#EDEC5A
secondary
#3334B8
accent
#0ADD09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #EDEC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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