#ECDE74#ECDE74

#ECDE74 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.0% C 0.128 H 101.9°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#ECDE74
RGBrgb(236, 222, 116)
HSLhsl(53, 76%, 69%)
HSVhsv(53, 51%, 93%)
CMYKcmyk(0%, 5.9%, 50.8%, 7.5%)
CIE-LABlab(87.65, -8.82, 53.17)
CIE-LCHlch(87.65, 53.90, 99.42°)
OKLaboklab(89.05% -0.0264 0.1257)
OKLCHoklch(89.05% 0.128 101.9)
XYZxyz(63.8676, 71.3386, 26.9250)
Luminance0.7134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE74 #7482EC
analogous
#ECA274 #ECDE74 #BEEC74
triadic
#ECDE74 #74ECDE #DE74EC
tetradic
#ECDE74 #74ECA2 #7482EC #EC74BE
square
#ECDE74 #74ECA2 #7482EC #EC74BE
split-complementary
#ECDE74 #74BEEC #A274EC
monochromatic
#CAB61C #E5D13E #ECDE74 #F3EBAA #FBF8E0

Accessibility & contrast

On white

1.38
#ECDE74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#ECDE74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE74
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE74#FFFFFF#000000##000000
##ECDE741.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86A
Deuteranopia (green-blind)
#F3DF79
Tritanopia (blue-blind)
#FBD1C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecde74;
/* rgb */ color: rgb(236, 222, 116);
/* oklch */ color: oklch(89.0% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#f4e89e',
    500: '#ecde74',
    950: '#000000',
  },
}
SCSS
$custom: #ecde74;
$custom-light: #f4e89e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde74",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 116
  },
  "hsl": {
    "h": 53,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89048,
    "c": 0.12841,
    "h": 101.9
  },
  "luminance": 0.71336
}

Semantic roles & 50–950 ramp

primary
#ECDE74
secondary
#404FC5
accent
#25D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDE74

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

Preview Lab → · Contrast checker → · Palette generator →

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