#EDCA4F#EDCA4F

#EDCA4F is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.7% C 0.144 H 93.1°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#EDCA4F
RGBrgb(237, 202, 79)
HSLhsl(47, 81%, 62%)
HSVhsv(47, 67%, 93%)
CMYKcmyk(0%, 14.8%, 66.7%, 7.1%)
CIE-LABlab(82.28, -0.84, 63.67)
CIE-LCHlch(82.28, 63.68, 90.75°)
OKLaboklab(84.7% -0.0077 0.1436)
OKLCHoklch(84.7% 0.144 93.1)
XYZxyz(57.4597, 60.8133, 16.1072)
Luminance0.6081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDCA4F #4F72ED
analogous
#ED7B4F #EDCA4F #C1ED4F
triadic
#EDCA4F #4FEDCA #CA4FED
tetradic
#EDCA4F #4FED7B #4F72ED #ED4FC1
square
#EDCA4F #4FED7B #4F72ED #ED4FC1
split-complementary
#EDCA4F #4FC1ED #7B4FED
monochromatic
#B08D12 #E7B918 #EDCA4F #F3DB87 #F8EBBE

Accessibility & contrast

On white

1.60
#EDCA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#EDCA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDCA4F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDCA4F#FFFFFF#000000##000000
##EDCA4F1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC740
Deuteranopia (green-blind)
#E7D155
Tritanopia (blue-blind)
#FFBBB0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #edca4f;
/* rgb */ color: rgb(237, 202, 79);
/* oklch */ color: oklch(84.7% 0.144 93.1);
Tailwind
colors: {
  custom: {
    50: '#f7d986',
    500: '#edca4f',
    950: '#000000',
  },
}
SCSS
$custom: #edca4f;
$custom-light: #f7d986;
$custom-dark: #000000;
JSON
{
  "hex": "#edca4f",
  "rgb": {
    "r": 237,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 46.709,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84703,
    "c": 0.14382,
    "h": 93.1
  },
  "luminance": 0.6081
}

Semantic roles & 50–950 ramp

primary
#EDCA4F
secondary
#304DB0
accent
#37DE08
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDCA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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