#EDCA57#EDCA57

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

Color values

HEX#EDCA57
RGBrgb(237, 202, 87)
HSLhsl(46, 81%, 64%)
HSVhsv(46, 63%, 93%)
CMYKcmyk(0%, 14.8%, 63.3%, 7.1%)
CIE-LABlab(82.34, -0.37, 60.34)
CIE-LCHlch(82.34, 60.34, 90.35°)
OKLaboklab(84.78% -0.0054 0.1378)
OKLCHoklch(84.78% 0.138 92.2)
XYZxyz(57.7687, 60.9368, 17.7341)
Luminance0.6093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDCA57 #577AED
analogous
#ED7F57 #EDCA57 #C5ED57
triadic
#EDCA57 #57EDCA #CA57ED
tetradic
#EDCA57 #57ED7F #577AED #ED57C5
square
#EDCA57 #57ED7F #577AED #ED57C5
split-complementary
#EDCA57 #57C5ED #7F57ED
monochromatic
#B69014 #E7B920 #EDCA57 #F3DB8E #F9EDC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDCA57#FFFFFF#000000##000000
##EDCA571.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)
#DEC74A
Deuteranopia (green-blind)
#E7D15C
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #edca57;
/* rgb */ color: rgb(237, 202, 87);
/* oklch */ color: oklch(84.8% 0.138 92.2);
Tailwind
colors: {
  custom: {
    50: '#f6d98b',
    500: '#edca57',
    950: '#000000',
  },
}
SCSS
$custom: #edca57;
$custom-light: #f6d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#edca57",
  "rgb": {
    "r": 237,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 46,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84777,
    "c": 0.13786,
    "h": 92.2
  },
  "luminance": 0.60934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EDCA57

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

Preview Lab → · Contrast checker → · Palette generator →

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