#ECDA74#ECDA74

#ECDA74 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.2% C 0.125 H 99.5°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#ECDA74
RGBrgb(236, 218, 116)
HSLhsl(51, 76%, 69%)
HSVhsv(51, 51%, 93%)
CMYKcmyk(0%, 7.6%, 50.8%, 7.5%)
CIE-LABlab(86.62, -6.81, 51.95)
CIE-LCHlch(86.62, 52.39, 97.47°)
OKLaboklab(88.23% -0.0206 0.123)
OKLCHoklch(88.23% 0.125 99.5)
XYZxyz(62.8178, 69.2390, 26.5751)
Luminance0.6924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA74 #7486EC
analogous
#EC9E74 #ECDA74 #C2EC74
triadic
#ECDA74 #74ECDA #DA74EC
tetradic
#ECDA74 #74EC9E #7486EC #EC74C2
square
#ECDA74 #74EC9E #7486EC #EC74C2
split-complementary
#ECDA74 #74C2EC #9E74EC
monochromatic
#CAB01C #E5CC3E #ECDA74 #F3E8AA #FBF7E0

Accessibility & contrast

On white

1.41
#ECDA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#ECDA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA74
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA74#FFFFFF#000000##000000
##ECDA741.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56B
Deuteranopia (green-blind)
#F0DC78
Tritanopia (blue-blind)
#FBCDC2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecda74;
/* rgb */ color: rgb(236, 218, 116);
/* oklch */ color: oklch(88.2% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#f4e59e',
    500: '#ecda74',
    950: '#000000',
  },
}
SCSS
$custom: #ecda74;
$custom-light: #f4e59e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda74",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 116
  },
  "hsl": {
    "h": 51,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88234,
    "c": 0.12471,
    "h": 99.5
  },
  "luminance": 0.69237
}

Semantic roles & 50–950 ramp

primary
#ECDA74
secondary
#4054C5
accent
#2CD80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDA74

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

Preview Lab → · Contrast checker → · Palette generator →

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