#ECD072#ECD072

#ECD072 is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.2% C 0.118 H 93.2°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#ECD072
RGBrgb(236, 208, 114)
HSLhsl(46, 76%, 69%)
HSVhsv(46, 52%, 93%)
CMYKcmyk(0%, 11.9%, 51.7%, 7.5%)
CIE-LABlab(84.05, -1.89, 49.82)
CIE-LCHlch(84.05, 49.85, 92.17°)
OKLaboklab(86.19% -0.0066 0.1182)
OKLCHoklch(86.19% 0.118 93.2)
XYZxyz(60.1874, 64.1622, 25.1306)
Luminance0.6416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD072 #728EEC
analogous
#EC9372 #ECD072 #CBEC72
triadic
#ECD072 #72ECD0 #D072EC
tetradic
#ECD072 #72EC93 #728EEC #EC72CB
square
#ECD072 #72EC93 #728EEC #EC72CB
split-complementary
#ECD072 #72CBEC #9372EC
monochromatic
#C9A11B #E5BE3C #ECD072 #F3E2A8 #FBF4DE

Accessibility & contrast

On white

1.52
#ECD072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#ECD072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD072
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD072#FFFFFF#000000##000000
##ECD0721.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E9D576
Tritanopia (blue-blind)
#FCC3BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd072;
/* rgb */ color: rgb(236, 208, 114);
/* oklch */ color: oklch(86.2% 0.118 93.2);
Tailwind
colors: {
  custom: {
    50: '#f4de9c',
    500: '#ecd072',
    950: '#000000',
  },
}
SCSS
$custom: #ecd072;
$custom-light: #f4de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd072",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 46.23,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86192,
    "c": 0.11834,
    "h": 93.2
  },
  "luminance": 0.6416
}

Semantic roles & 50–950 ramp

primary
#ECD072
secondary
#3E5DC4
accent
#3CD80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD072

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

Preview Lab → · Contrast checker → · Palette generator →

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