#EDCA58#EDCA58

#EDCA58 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.8% C 0.137 H 92.1°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#EDCA58
RGBrgb(237, 202, 88)
HSLhsl(46, 81%, 64%)
HSVhsv(46, 63%, 93%)
CMYKcmyk(0%, 14.8%, 62.9%, 7.1%)
CIE-LABlab(82.35, -0.30, 59.91)
CIE-LCHlch(82.35, 59.91, 90.29°)
OKLaboklab(84.79% -0.0051 0.137)
OKLCHoklch(84.79% 0.137 92.1)
XYZxyz(57.8098, 60.9533, 17.9508)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDCA58 #587BED
analogous
#ED7F58 #EDCA58 #C5ED58
triadic
#EDCA58 #58EDCA #CA58ED
tetradic
#EDCA58 #58ED7F #587BED #ED58C5
square
#EDCA58 #58ED7F #587BED #ED58C5
split-complementary
#EDCA58 #58C5ED #7F58ED
monochromatic
#B79114 #E7B821 #EDCA58 #F3DC8F #F9EDC6

Accessibility & contrast

On white

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

On black

13.19
#EDCA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDCA58
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDCA58#FFFFFF#000000##000000
##EDCA581.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #edca58;
/* rgb */ color: rgb(237, 202, 88);
/* oklch */ color: oklch(84.8% 0.137 92.1);
Tailwind
colors: {
  custom: {
    50: '#f6d98c',
    500: '#edca58',
    950: '#000000',
  },
}
SCSS
$custom: #edca58;
$custom-light: #f6d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#edca58",
  "rgb": {
    "r": 237,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 45.906,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84787,
    "c": 0.13708,
    "h": 92.1
  },
  "luminance": 0.6095
}

Semantic roles & 50–950 ramp

primary
#EDCA58
secondary
#3352B6
accent
#3ADD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDCA58

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

Preview Lab → · Contrast checker → · Palette generator →

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