#EDC959#EDC959

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

Color values

HEX#EDC959
RGBrgb(237, 201, 89)
HSLhsl(45, 80%, 64%)
HSVhsv(45, 62%, 93%)
CMYKcmyk(0%, 15.2%, 62.4%, 7.1%)
CIE-LABlab(82.11, 0.27, 59.20)
CIE-LCHlch(82.11, 59.20, 89.73°)
OKLaboklab(84.6% -0.0033 0.1356)
OKLCHoklch(84.6% 0.136 91.4)
XYZxyz(57.6176, 60.5022, 18.0925)
Luminance0.6050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC959 #597DED
analogous
#ED7F59 #EDC959 #C7ED59
triadic
#EDC959 #59EDC9 #C959ED
tetradic
#EDC959 #59ED7F #597DED #ED59C7
square
#EDC959 #59ED7F #597DED #ED59C7
split-complementary
#EDC959 #59C7ED #7F59ED
monochromatic
#B89014 #E7B722 #EDC959 #F3DB90 #F9EDC7

Accessibility & contrast

On white

1.60
#EDC959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#EDC959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC959
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC959#FFFFFF#000000##000000
##EDC9591.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64D
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#FFBAB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #edc959;
/* rgb */ color: rgb(237, 201, 89);
/* oklch */ color: oklch(84.6% 0.136 91.4);
Tailwind
colors: {
  custom: {
    50: '#f6d98c',
    500: '#edc959',
    950: '#000000',
  },
}
SCSS
$custom: #edc959;
$custom-light: #f6d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#edc959",
  "rgb": {
    "r": 237,
    "g": 201,
    "b": 89
  },
  "hsl": {
    "h": 45.405,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84597,
    "c": 0.13567,
    "h": 91.4
  },
  "luminance": 0.60499
}

Semantic roles & 50–950 ramp

primary
#EDC959
secondary
#3353B7
accent
#3CDD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDC959

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

Preview Lab → · Contrast checker → · Palette generator →

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