#ECD372#ECD372

#ECD372 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.8% C 0.121 H 95.2°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#ECD372
RGBrgb(236, 211, 114)
HSLhsl(48, 76%, 69%)
HSVhsv(48, 52%, 93%)
CMYKcmyk(0%, 10.6%, 51.7%, 7.5%)
CIE-LABlab(84.81, -3.42, 50.73)
CIE-LCHlch(84.81, 50.85, 93.86°)
OKLaboklab(86.79% -0.011 0.1202)
OKLCHoklch(86.79% 0.121 95.2)
XYZxyz(60.9257, 65.6389, 25.3767)
Luminance0.6564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD372 #728BEC
analogous
#EC9672 #ECD372 #C8EC72
triadic
#ECD372 #72ECD3 #D372EC
tetradic
#ECD372 #72EC96 #728BEC #EC72C8
square
#ECD372 #72EC96 #728BEC #EC72C8
split-complementary
#ECD372 #72C8EC #9672EC
monochromatic
#C9A51B #E5C23C #ECD372 #F3E4A8 #FBF5DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD372#FFFFFF#000000##000000
##ECD3721.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)
#E4CF69
Deuteranopia (green-blind)
#EBD776
Tritanopia (blue-blind)
#FCC6BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd372;
/* rgb */ color: rgb(236, 211, 114);
/* oklch */ color: oklch(86.8% 0.121 95.2);
Tailwind
colors: {
  custom: {
    50: '#f4e09d',
    500: '#ecd372',
    950: '#000000',
  },
}
SCSS
$custom: #ecd372;
$custom-light: #f4e09d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd372",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 47.705,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86794,
    "c": 0.12066,
    "h": 95.2
  },
  "luminance": 0.65636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECD372

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

Preview Lab → · Contrast checker → · Palette generator →

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