#ECD773#ECD773

#ECD773 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.6% C 0.123 H 97.7°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#ECD773
RGBrgb(236, 215, 115)
HSLhsl(50, 76%, 69%)
HSVhsv(50, 51%, 93%)
CMYKcmyk(0%, 8.9%, 51.3%, 7.5%)
CIE-LABlab(85.84, -5.37, 51.49)
CIE-LCHlch(85.84, 51.77, 95.96°)
OKLaboklab(87.61% -0.0165 0.1219)
OKLCHoklch(87.61% 0.123 97.7)
XYZxyz(61.9891, 67.6740, 26.0134)
Luminance0.6767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD773 #7388EC
analogous
#EC9B73 #ECD773 #C5EC73
triadic
#ECD773 #73ECD7 #D773EC
tetradic
#ECD773 #73EC9B #7388EC #EC73C5
square
#ECD773 #73EC9B #7388EC #EC73C5
split-complementary
#ECD773 #73C5EC #9B73EC
monochromatic
#C9AB1B #E5C83D #ECD773 #F3E6A9 #FBF6DF

Accessibility & contrast

On white

1.44
#ECD773 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#ECD773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD773
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD773#FFFFFF#000000##000000
##ECD7731.001.4414.5314.53
#FFFFFF1.441.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26A
Deuteranopia (green-blind)
#EEDA77
Tritanopia (blue-blind)
#FCCAC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd773;
/* rgb */ color: rgb(236, 215, 115);
/* oklch */ color: oklch(87.6% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#f4e39d',
    500: '#ecd773',
    950: '#000000',
  },
}
SCSS
$custom: #ecd773;
$custom-light: #f4e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd773",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 115
  },
  "hsl": {
    "h": 49.587,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87613,
    "c": 0.12303,
    "h": 97.7
  },
  "luminance": 0.67672
}

Semantic roles & 50–950 ramp

primary
#ECD773
secondary
#3F56C4
accent
#30D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD773

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

Preview Lab → · Contrast checker → · Palette generator →

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