#EDC954#EDC954

#EDC954 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.5% C 0.140 H 92.0°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#EDC954
RGBrgb(237, 201, 84)
HSLhsl(46, 81%, 63%)
HSVhsv(46, 65%, 93%)
CMYKcmyk(0%, 15.2%, 64.6%, 7.1%)
CIE-LABlab(82.07, -0.03, 61.34)
CIE-LCHlch(82.07, 61.34, 90.03°)
OKLaboklab(84.55% -0.0048 0.1394)
OKLCHoklch(84.55% 0.14 92)
XYZxyz(57.4148, 60.4211, 17.0241)
Luminance0.6042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC954 #5478ED
analogous
#ED7C54 #EDC954 #C5ED54
triadic
#EDC954 #54EDC9 #C954ED
tetradic
#EDC954 #54ED7C #5478ED #ED54C5
square
#EDC954 #54ED7C #5478ED #ED54C5
split-complementary
#EDC954 #54C5ED #7C54ED
monochromatic
#B48E13 #E7B81D #EDC954 #F3DA8B #F9ECC3

Accessibility & contrast

On white

1.61
#EDC954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#EDC954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC954
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC954#FFFFFF#000000##000000
##EDC9541.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#E6D159
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #edc954;
/* rgb */ color: rgb(237, 201, 84);
/* oklch */ color: oklch(84.5% 0.140 92.0);
Tailwind
colors: {
  custom: {
    50: '#f6d989',
    500: '#edc954',
    950: '#000000',
  },
}
SCSS
$custom: #edc954;
$custom-light: #f6d989;
$custom-dark: #000000;
JSON
{
  "hex": "#edc954",
  "rgb": {
    "r": 237,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 45.882,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84549,
    "c": 0.13952,
    "h": 92
  },
  "luminance": 0.60418
}

Semantic roles & 50–950 ramp

primary
#EDC954
secondary
#3250B4
accent
#3ADD08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDC954

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

Preview Lab → · Contrast checker → · Palette generator →

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