#ECD373#ECD373

#ECD373 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.8% C 0.120 H 95.1°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#ECD373
RGBrgb(236, 211, 115)
HSLhsl(48, 76%, 69%)
HSVhsv(48, 51%, 93%)
CMYKcmyk(0%, 10.6%, 51.3%, 7.5%)
CIE-LABlab(84.82, -3.34, 50.27)
CIE-LCHlch(84.82, 50.38, 93.80°)
OKLaboklab(86.81% -0.0107 0.1192)
OKLCHoklch(86.81% 0.12 95.1)
XYZxyz(60.9830, 65.6618, 25.6781)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD373 #738CEC
analogous
#EC9773 #ECD373 #C9EC73
triadic
#ECD373 #73ECD3 #D373EC
tetradic
#ECD373 #73EC97 #738CEC #EC73C9
square
#ECD373 #73EC97 #738CEC #EC73C9
split-complementary
#ECD373 #73C9EC #9773EC
monochromatic
#C9A51B #E5C23D #ECD373 #F3E4A9 #FBF5DF

Accessibility & contrast

On white

1.49
#ECD373 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#ECD373 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD373
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD373#FFFFFF#000000##000000
##ECD3731.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6B
Deuteranopia (green-blind)
#EBD777
Tritanopia (blue-blind)
#FCC6BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd373;
/* rgb */ color: rgb(236, 211, 115);
/* oklch */ color: oklch(86.8% 0.120 95.1);
Tailwind
colors: {
  custom: {
    50: '#f4e09d',
    500: '#ecd373',
    950: '#000000',
  },
}
SCSS
$custom: #ecd373;
$custom-light: #f4e09d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd373",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 115
  },
  "hsl": {
    "h": 47.603,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86807,
    "c": 0.11971,
    "h": 95.1
  },
  "luminance": 0.65659
}

Semantic roles & 50–950 ramp

primary
#ECD373
secondary
#3F5AC4
accent
#37D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD373

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

Preview Lab → · Contrast checker → · Palette generator →

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