#EDC74C#EDC74C

#EDC74C is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 84.1% C 0.144 H 91.6°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#EDC74C
RGBrgb(237, 199, 76)
HSLhsl(46, 82%, 61%)
HSVhsv(46, 68%, 93%)
CMYKcmyk(0%, 16%, 67.9%, 7.1%)
CIE-LABlab(81.50, 0.55, 64.09)
CIE-LCHlch(81.50, 64.10, 89.51°)
OKLaboklab(84.08% -0.004 0.144)
OKLCHoklch(84.08% 0.144 91.6)
XYZxyz(56.6559, 59.3764, 15.3127)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC74C #4C72ED
analogous
#ED774C #EDC74C #C2ED4C
triadic
#EDC74C #4CEDC7 #C74CED
tetradic
#EDC74C #4CED77 #4C72ED #ED4CC2
square
#EDC74C #4CED77 #4C72ED #ED4CC2
split-complementary
#EDC74C #4CC2ED #774CED
monochromatic
#AD8811 #E5B417 #EDC74C #F3D884 #F8EABB

Accessibility & contrast

On white

1.63
#EDC74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#EDC74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC74C
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC74C#FFFFFF#000000##000000
##EDC74C1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43C
Deuteranopia (green-blind)
#E5CF52
Tritanopia (blue-blind)
#FFB7AE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #edc74c;
/* rgb */ color: rgb(237, 199, 76);
/* oklch */ color: oklch(84.1% 0.144 91.6);
Tailwind
colors: {
  custom: {
    50: '#f7d784',
    500: '#edc74c',
    950: '#000000',
  },
}
SCSS
$custom: #edc74c;
$custom-light: #f7d784;
$custom-dark: #000000;
JSON
{
  "hex": "#edc74c",
  "rgb": {
    "r": 237,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 45.839,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8408,
    "c": 0.14408,
    "h": 91.6
  },
  "luminance": 0.59373
}

Semantic roles & 50–950 ramp

primary
#EDC74C
secondary
#2F4DAE
accent
#3ADE07
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EDC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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