#ECD28F#ECD28F

#ECD28F is a very light, moderate orange. Relative luminance 0.659; OKLCH L 87.0% C 0.090 H 89.2°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#ECD28F
RGBrgb(236, 210, 143)
HSLhsl(43, 71%, 74%)
HSVhsv(43, 39%, 93%)
CMYKcmyk(0%, 11%, 39.4%, 7.5%)
CIE-LABlab(84.95, -0.11, 36.52)
CIE-LCHlch(84.95, 36.52, 90.18°)
OKLaboklab(87.03% 0.0013 0.09)
OKLCHoklch(87.03% 0.09 89.2)
XYZxyz(62.5981, 65.9116, 35.4061)
Luminance0.6591 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD28F #8FA9EC
analogous
#ECA48F #ECD28F #D7EC8F
triadic
#ECD28F #8FECD2 #D28FEC
tetradic
#ECD28F #8FECA4 #8FA9EC #EC8FD7
square
#ECD28F #8FECA4 #8FA9EC #EC8FD7
split-complementary
#ECD28F #8FD7EC #A48FEC
monochromatic
#DAA826 #E3BD5B #ECD28F #F5E7C3 #FBF4E5

Accessibility & contrast

On white

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

On black

14.18
#ECD28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD28F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD28F#FFFFFF#000000##000000
##ECD28F1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D08A
Deuteranopia (green-blind)
#E7D791
Tritanopia (blue-blind)
#FAC8C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd28f;
/* rgb */ color: rgb(236, 210, 143);
/* oklch */ color: oklch(87.0% 0.090 89.2);
Tailwind
colors: {
  custom: {
    50: '#f3dfb0',
    500: '#ecd28f',
    950: '#000000',
  },
}
SCSS
$custom: #ecd28f;
$custom-light: #f3dfb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd28f",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 143
  },
  "hsl": {
    "h": 43.226,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.87031,
    "c": 0.08998,
    "h": 89.2
  },
  "luminance": 0.65909
}

Semantic roles & 50–950 ramp

primary
#ECD28F
secondary
#5877C7
accent
#48D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD28F

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

Preview Lab → · Contrast checker → · Palette generator →

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