#EDC95D#EDC95D

#EDC95D is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.6% C 0.132 H 90.9°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#EDC95D
RGBrgb(237, 201, 93)
HSLhsl(45, 80%, 65%)
HSVhsv(45, 61%, 93%)
CMYKcmyk(0%, 15.2%, 60.8%, 7.1%)
CIE-LABlab(82.15, 0.54, 57.46)
CIE-LCHlch(82.15, 57.46, 89.47°)
OKLaboklab(84.64% -0.002 0.1324)
OKLCHoklch(84.64% 0.132 90.9)
XYZxyz(57.7902, 60.5712, 19.0013)
Luminance0.6057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC95D #5D81ED
analogous
#ED815D #EDC95D #C9ED5D
triadic
#EDC95D #5DEDC9 #C95DED
tetradic
#EDC95D #5DED81 #5D81ED #ED5DC9
square
#EDC95D #5DED81 #5D81ED #ED5DC9
split-complementary
#EDC95D #5DC9ED #815DED
monochromatic
#BB9115 #E7B726 #EDC95D #F3DB94 #F9EECB

Accessibility & contrast

On white

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

On black

13.11
#EDC95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC95D
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC95D#FFFFFF#000000##000000
##EDC95D1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #edc95d;
/* rgb */ color: rgb(237, 201, 93);
/* oklch */ color: oklch(84.6% 0.132 90.9);
Tailwind
colors: {
  custom: {
    50: '#f6d98f',
    500: '#edc95d',
    950: '#000000',
  },
}
SCSS
$custom: #edc95d;
$custom-light: #f6d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#edc95d",
  "rgb": {
    "r": 237,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 45,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84639,
    "c": 0.13245,
    "h": 90.9
  },
  "luminance": 0.60568
}

Semantic roles & 50–950 ramp

primary
#EDC95D
secondary
#3456BA
accent
#3EDC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #EDC95D

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

Preview Lab → · Contrast checker → · Palette generator →

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