#ECD74D#ECD74D

#ECD74D is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.155 H 100.5°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#ECD74D
RGBrgb(236, 215, 77)
HSLhsl(52, 81%, 61%)
HSVhsv(52, 67%, 93%)
CMYKcmyk(0%, 8.9%, 67.4%, 7.5%)
CIE-LABlab(85.49, -7.98, 67.77)
CIE-LCHlch(85.49, 68.24, 96.72°)
OKLaboklab(87.22% -0.0282 0.152)
OKLCHoklch(87.22% 0.155 100.5)
XYZxyz(60.2347, 66.9722, 16.7739)
Luminance0.6697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD74D #4D62EC
analogous
#EC884D #ECD74D #B2EC4D
triadic
#ECD74D #4DECD7 #D74DEC
tetradic
#ECD74D #4DEC88 #4D62EC #EC4DB2
square
#ECD74D #4DEC88 #4D62EC #EC4DB2
split-complementary
#ECD74D #4DB2EC #884DEC
monochromatic
#AC9812 #E4C918 #ECD74D #F2E384 #F8F0BC

Accessibility & contrast

On white

1.46
#ECD74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#ECD74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD74D
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD74D#FFFFFF#000000##000000
##ECD74D1.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13A
Deuteranopia (green-blind)
#F1D955
Tritanopia (blue-blind)
#FEC8BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd74d;
/* rgb */ color: rgb(236, 215, 77);
/* oklch */ color: oklch(87.2% 0.155 100.5);
Tailwind
colors: {
  custom: {
    50: '#f6e386',
    500: '#ecd74d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd74d;
$custom-light: #f6e386;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd74d",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 52.075,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8722,
    "c": 0.15459,
    "h": 100.5
  },
  "luminance": 0.6697
}

Semantic roles & 50–950 ramp

primary
#ECD74D
secondary
#3041AD
accent
#25DD08
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD74D

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

Preview Lab → · Contrast checker → · Palette generator →

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