#ECD28C#ECD28C

#ECD28C is a very light, moderate orange. Relative luminance 0.658; OKLCH L 87.0% C 0.093 H 89.9°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#ECD28C
RGBrgb(236, 210, 140)
HSLhsl(44, 72%, 74%)
HSVhsv(44, 41%, 93%)
CMYKcmyk(0%, 11%, 40.7%, 7.5%)
CIE-LABlab(84.91, -0.44, 37.99)
CIE-LCHlch(84.91, 37.99, 90.66°)
OKLaboklab(86.98% 0.0001 0.0932)
OKLCHoklch(86.98% 0.093 89.9)
XYZxyz(62.3738, 65.8219, 34.2252)
Luminance0.6582 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD28C #8CA6EC
analogous
#ECA28C #ECD28C #D6EC8C
triadic
#ECD28C #8CECD2 #D28CEC
tetradic
#ECD28C #8CECA2 #8CA6EC #EC8CD6
square
#ECD28C #8CECA2 #8CA6EC #EC8CD6
split-complementary
#ECD28C #8CD6EC #A28CEC
monochromatic
#DAA824 #E3BD57 #ECD28C #F5E7C1 #FBF5E5

Accessibility & contrast

On white

1.48
#ECD28C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#ECD28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD28C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD28C#FFFFFF#000000##000000
##ECD28C1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D087
Deuteranopia (green-blind)
#E7D78E
Tritanopia (blue-blind)
#FAC7C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd28c;
/* rgb */ color: rgb(236, 210, 140);
/* oklch */ color: oklch(87.0% 0.093 89.9);
Tailwind
colors: {
  custom: {
    50: '#f3dfae',
    500: '#ecd28c',
    950: '#000000',
  },
}
SCSS
$custom: #ecd28c;
$custom-light: #f3dfae;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd28c",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 140
  },
  "hsl": {
    "h": 43.75,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.8698,
    "c": 0.09323,
    "h": 89.9
  },
  "luminance": 0.6582
}

Semantic roles & 50–950 ramp

primary
#ECD28C
secondary
#5574C7
accent
#46D412
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD28C

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

Preview Lab → · Contrast checker → · Palette generator →

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