#EDCA5B#EDCA5B

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

Color values

HEX#EDCA5B
RGBrgb(237, 202, 91)
HSLhsl(46, 80%, 64%)
HSVhsv(46, 62%, 93%)
CMYKcmyk(0%, 14.8%, 61.6%, 7.1%)
CIE-LABlab(82.38, -0.11, 58.61)
CIE-LCHlch(82.38, 58.61, 90.11°)
OKLaboklab(84.82% -0.0041 0.1346)
OKLCHoklch(84.82% 0.135 91.8)
XYZxyz(57.9366, 61.0040, 18.6188)
Luminance0.6100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDCA5B #5B7EED
analogous
#ED815B #EDCA5B #C7ED5B
triadic
#EDCA5B #5BEDCA #CA5BED
tetradic
#EDCA5B #5BED81 #5B7EED #ED5BC7
square
#EDCA5B #5BED81 #5B7EED #ED5BC7
split-complementary
#EDCA5B #5BC7ED #815BED
monochromatic
#B99214 #E7B824 #EDCA5B #F3DC92 #F9EEC9

Accessibility & contrast

On white

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

On black

13.20
#EDCA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDCA5B
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDCA5B#FFFFFF#000000##000000
##EDCA5B1.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#E7D160
Tritanopia (blue-blind)
#FFBBB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #edca5b;
/* rgb */ color: rgb(237, 202, 91);
/* oklch */ color: oklch(84.8% 0.135 91.8);
Tailwind
colors: {
  custom: {
    50: '#f6d98d',
    500: '#edca5b',
    950: '#000000',
  },
}
SCSS
$custom: #edca5b;
$custom-light: #f6d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#edca5b",
  "rgb": {
    "r": 237,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 45.616,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84817,
    "c": 0.1347,
    "h": 91.8
  },
  "luminance": 0.61001
}

Semantic roles & 50–950 ramp

primary
#EDCA5B
secondary
#3454B8
accent
#3CDD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDCA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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