#ECDB74#ECDB74

#ECDB74 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.4% C 0.126 H 100.1°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#ECDB74
RGBrgb(236, 219, 116)
HSLhsl(52, 76%, 69%)
HSVhsv(52, 51%, 93%)
CMYKcmyk(0%, 7.2%, 50.8%, 7.5%)
CIE-LABlab(86.88, -7.31, 52.25)
CIE-LCHlch(86.88, 52.76, 97.97°)
OKLaboklab(88.44% -0.022 0.1237)
OKLCHoklch(88.44% 0.126 100.1)
XYZxyz(63.0779, 69.7591, 26.6618)
Luminance0.6976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB74 #7485EC
analogous
#EC9F74 #ECDB74 #C1EC74
triadic
#ECDB74 #74ECDB #DB74EC
tetradic
#ECDB74 #74EC9F #7485EC #EC74C1
square
#ECDB74 #74EC9F #7485EC #EC74C1
split-complementary
#ECDB74 #74C1EC #9F74EC
monochromatic
#CAB11C #E5CD3E #ECDB74 #F3E9AA #FBF7E0

Accessibility & contrast

On white

1.40
#ECDB74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#ECDB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB74
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB74#FFFFFF#000000##000000
##ECDB741.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66B
Deuteranopia (green-blind)
#F1DD79
Tritanopia (blue-blind)
#FBCEC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdb74;
/* rgb */ color: rgb(236, 219, 116);
/* oklch */ color: oklch(88.4% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#f4e59e',
    500: '#ecdb74',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb74;
$custom-light: #f4e59e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb74",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 116
  },
  "hsl": {
    "h": 51.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88437,
    "c": 0.12562,
    "h": 100.1
  },
  "luminance": 0.69757
}

Semantic roles & 50–950 ramp

primary
#ECDB74
secondary
#4053C5
accent
#2AD80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDB74

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

Preview Lab → · Contrast checker → · Palette generator →

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