#EDCA56#EDCA56

#EDCA56 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.8% C 0.139 H 92.3°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#EDCA56
RGBrgb(237, 202, 86)
HSLhsl(46, 81%, 63%)
HSVhsv(46, 64%, 93%)
CMYKcmyk(0%, 14.8%, 63.7%, 7.1%)
CIE-LABlab(82.34, -0.43, 60.76)
CIE-LCHlch(82.34, 60.76, 90.40°)
OKLaboklab(84.77% -0.0057 0.1385)
OKLCHoklch(84.77% 0.139 92.3)
XYZxyz(57.7281, 60.9206, 17.5205)
Luminance0.6092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDCA56 #5679ED
analogous
#ED7E56 #EDCA56 #C4ED56
triadic
#EDCA56 #56EDCA #CA56ED
tetradic
#EDCA56 #56ED7E #5679ED #ED56C4
square
#EDCA56 #56ED7E #5679ED #ED56C4
split-complementary
#EDCA56 #56C4ED #7E56ED
monochromatic
#B59013 #E7B91F #EDCA56 #F3DB8D #F9EDC5

Accessibility & contrast

On white

1.59
#EDCA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#EDCA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDCA56
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDCA56#FFFFFF#000000##000000
##EDCA561.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC749
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #edca56;
/* rgb */ color: rgb(237, 202, 86);
/* oklch */ color: oklch(84.8% 0.139 92.3);
Tailwind
colors: {
  custom: {
    50: '#f6d98a',
    500: '#edca56',
    950: '#000000',
  },
}
SCSS
$custom: #edca56;
$custom-light: #f6d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#edca56",
  "rgb": {
    "r": 237,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 46.093,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84767,
    "c": 0.13864,
    "h": 92.3
  },
  "luminance": 0.60917
}

Semantic roles & 50–950 ramp

primary
#EDCA56
secondary
#3251B5
accent
#3ADD08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDCA56

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

Preview Lab → · Contrast checker → · Palette generator →

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