#EDC74E#EDC74E

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

Color values

HEX#EDC74E
RGBrgb(237, 199, 78)
HSLhsl(46, 82%, 62%)
HSVhsv(46, 67%, 93%)
CMYKcmyk(0%, 16%, 67.1%, 7.1%)
CIE-LABlab(81.51, 0.65, 63.28)
CIE-LCHlch(81.51, 63.29, 89.41°)
OKLaboklab(84.1% -0.0035 0.1426)
OKLCHoklch(84.1% 0.143 91.4)
XYZxyz(56.7266, 59.4047, 15.6846)
Luminance0.5940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC74E #4E74ED
analogous
#ED784E #EDC74E #C4ED4E
triadic
#EDC74E #4EEDC7 #C74EED
tetradic
#EDC74E #4EED78 #4E74ED #ED4EC4
square
#EDC74E #4EED78 #4E74ED #ED4EC4
split-complementary
#EDC74E #4EC4ED #784EED
monochromatic
#AF8912 #E6B517 #EDC74E #F3D986 #F8EABD

Accessibility & contrast

On white

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

On black

12.88
#EDC74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC74E
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC74E#FFFFFF#000000##000000
##EDC74E1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43F
Deuteranopia (green-blind)
#E5CF54
Tritanopia (blue-blind)
#FFB8AE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #edc74e;
/* rgb */ color: rgb(237, 199, 78);
/* oklch */ color: oklch(84.1% 0.143 91.4);
Tailwind
colors: {
  custom: {
    50: '#f7d785',
    500: '#edc74e',
    950: '#000000',
  },
}
SCSS
$custom: #edc74e;
$custom-light: #f7d785;
$custom-dark: #000000;
JSON
{
  "hex": "#edc74e",
  "rgb": {
    "r": 237,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 45.66,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84097,
    "c": 0.14268,
    "h": 91.4
  },
  "luminance": 0.59401
}

Semantic roles & 50–950 ramp

primary
#EDC74E
secondary
#304EAF
accent
#3BDE08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EDC74E

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

Preview Lab → · Contrast checker → · Palette generator →

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