#ECD38B#ECD38B

#ECD38B is a very light, moderate orange. Relative luminance 0.663; OKLCH L 87.2% C 0.095 H 91.0°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#ECD38B
RGBrgb(236, 211, 139)
HSLhsl(45, 72%, 74%)
HSVhsv(45, 41%, 93%)
CMYKcmyk(0%, 10.6%, 41.1%, 7.5%)
CIE-LABlab(85.14, -1.06, 38.80)
CIE-LCHlch(85.14, 38.82, 91.56°)
OKLaboklab(87.16% -0.0017 0.0951)
OKLCHoklch(87.16% 0.095 91)
XYZxyz(62.5481, 66.2878, 33.9212)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD38B #8BA4EC
analogous
#ECA28B #ECD38B #D4EC8B
triadic
#ECD38B #8BECD3 #D38BEC
tetradic
#ECD38B #8BECA2 #8BA4EC #EC8BD4
square
#ECD38B #8BECA2 #8BA4EC #EC8BD4
split-complementary
#ECD38B #8BD4EC #A28BEC
monochromatic
#D9AA24 #E3BF56 #ECD38B #F5E7C0 #FBF5E5

Accessibility & contrast

On white

1.47
#ECD38B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#ECD38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD38B
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD38B#FFFFFF#000000##000000
##ECD38B1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D086
Deuteranopia (green-blind)
#E8D88D
Tritanopia (blue-blind)
#FAC8C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd38b;
/* rgb */ color: rgb(236, 211, 139);
/* oklch */ color: oklch(87.2% 0.095 91.0);
Tailwind
colors: {
  custom: {
    50: '#f3e0ae',
    500: '#ecd38b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd38b;
$custom-light: #f3e0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd38b",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 139
  },
  "hsl": {
    "h": 44.536,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.87163,
    "c": 0.09507,
    "h": 91
  },
  "luminance": 0.66285
}

Semantic roles & 50–950 ramp

primary
#ECD38B
secondary
#5572C7
accent
#44D412
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD38B

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

Preview Lab → · Contrast checker → · Palette generator →

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