#ECDF74#ECDF74

#ECDF74 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.3% C 0.129 H 102.4°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#ECDF74
RGBrgb(236, 223, 116)
HSLhsl(54, 76%, 69%)
HSVhsv(54, 51%, 93%)
CMYKcmyk(0%, 5.5%, 50.8%, 7.5%)
CIE-LABlab(87.91, -9.32, 53.48)
CIE-LCHlch(87.91, 54.28, 99.89°)
OKLaboklab(89.25% -0.0278 0.1263)
OKLCHoklch(89.25% 0.129 102.4)
XYZxyz(64.1340, 71.8713, 27.0138)
Luminance0.7187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF74 #7481EC
analogous
#ECA374 #ECDF74 #BDEC74
triadic
#ECDF74 #74ECDF #DF74EC
tetradic
#ECDF74 #74ECA3 #7481EC #EC74BD
square
#ECDF74 #74ECA3 #7481EC #EC74BD
split-complementary
#ECDF74 #74BDEC #A374EC
monochromatic
#CAB71C #E5D33E #ECDF74 #F3EBAA #FBF8E0

Accessibility & contrast

On white

1.37
#ECDF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#ECDF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF74
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF74#FFFFFF#000000##000000
##ECDF741.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D96A
Deuteranopia (green-blind)
#F4DF79
Tritanopia (blue-blind)
#FBD2C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdf74;
/* rgb */ color: rgb(236, 223, 116);
/* oklch */ color: oklch(89.3% 0.129 102.4);
Tailwind
colors: {
  custom: {
    50: '#f4e89e',
    500: '#ecdf74',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf74;
$custom-light: #f4e89e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf74",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 53.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89253,
    "c": 0.12936,
    "h": 102.4
  },
  "luminance": 0.71869
}

Semantic roles & 50–950 ramp

primary
#ECDF74
secondary
#404EC5
accent
#23D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDF74

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

Preview Lab → · Contrast checker → · Palette generator →

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