#ECD28D#ECD28D

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

Color values

HEX#ECD28D
RGBrgb(236, 210, 141)
HSLhsl(44, 71%, 74%)
HSVhsv(44, 40%, 93%)
CMYKcmyk(0%, 11%, 40.3%, 7.5%)
CIE-LABlab(84.92, -0.33, 37.50)
CIE-LCHlch(84.92, 37.50, 90.50°)
OKLaboklab(87% 0.0005 0.0922)
OKLCHoklch(87% 0.092 89.7)
XYZxyz(62.4479, 65.8515, 34.6153)
Luminance0.6585 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD28D #8DA7EC
analogous
#ECA38D #ECD28D #D7EC8D
triadic
#ECD28D #8DECD2 #D28DEC
tetradic
#ECD28D #8DECA3 #8DA7EC #EC8DD7
square
#ECD28D #8DECA3 #8DA7EC #EC8DD7
split-complementary
#ECD28D #8DD7EC #A38DEC
monochromatic
#DAA824 #E3BD59 #ECD28D #F5E7C1 #FBF5E5

Accessibility & contrast

On white

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

On black

14.17
#ECD28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD28D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD28D#FFFFFF#000000##000000
##ECD28D1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D088
Deuteranopia (green-blind)
#E7D78F
Tritanopia (blue-blind)
#FAC7C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd28d;
/* rgb */ color: rgb(236, 210, 141);
/* oklch */ color: oklch(87.0% 0.092 89.7);
Tailwind
colors: {
  custom: {
    50: '#f3dfaf',
    500: '#ecd28d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd28d;
$custom-light: #f3dfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd28d",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 141
  },
  "hsl": {
    "h": 43.579,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.86997,
    "c": 0.09215,
    "h": 89.7
  },
  "luminance": 0.65849
}

Semantic roles & 50–950 ramp

primary
#ECD28D
secondary
#5675C7
accent
#47D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD28D

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

Preview Lab → · Contrast checker → · Palette generator →

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