#EDC54C#EDC54C

#EDC54C is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.7% C 0.143 H 90.4°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#EDC54C
RGBrgb(237, 197, 76)
HSLhsl(45, 82%, 61%)
HSVhsv(45, 68%, 93%)
CMYKcmyk(0%, 16.9%, 67.9%, 7.1%)
CIE-LABlab(81.00, 1.58, 63.57)
CIE-LCHlch(81.00, 63.59, 88.58°)
OKLaboklab(83.68% -0.0011 0.1429)
OKLCHoklch(83.68% 0.143 90.4)
XYZxyz(56.1988, 58.4622, 15.1603)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC54C #4C74ED
analogous
#ED754C #EDC54C #C5ED4C
triadic
#EDC54C #4CEDC5 #C54CED
tetradic
#EDC54C #4CED75 #4C74ED #ED4CC5
square
#EDC54C #4CED75 #4C74ED #ED4CC5
split-complementary
#EDC54C #4CC5ED #754CED
monochromatic
#AD8611 #E5B217 #EDC54C #F3D784 #F8E9BB

Accessibility & contrast

On white

1.65
#EDC54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#EDC54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC54C
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC54C#FFFFFF#000000##000000
##EDC54C1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33C
Deuteranopia (green-blind)
#E4CE52
Tritanopia (blue-blind)
#FFB5AC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #edc54c;
/* rgb */ color: rgb(237, 197, 76);
/* oklch */ color: oklch(83.7% 0.143 90.4);
Tailwind
colors: {
  custom: {
    50: '#f7d684',
    500: '#edc54c',
    950: '#000000',
  },
}
SCSS
$custom: #edc54c;
$custom-light: #f7d684;
$custom-dark: #000000;
JSON
{
  "hex": "#edc54c",
  "rgb": {
    "r": 237,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 45.093,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83683,
    "c": 0.14292,
    "h": 90.4
  },
  "luminance": 0.58459
}

Semantic roles & 50–950 ramp

primary
#EDC54C
secondary
#2F4FAE
accent
#3DDE07
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EDC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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