#ECD38F#ECD38F

#ECD38F is a very light, moderate orange. Relative luminance 0.664; OKLCH L 87.2% C 0.091 H 90.1°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#ECD38F
RGBrgb(236, 211, 143)
HSLhsl(44, 71%, 74%)
HSVhsv(44, 39%, 93%)
CMYKcmyk(0%, 10.6%, 39.4%, 7.5%)
CIE-LABlab(85.20, -0.63, 36.85)
CIE-LCHlch(85.20, 36.86, 90.98°)
OKLaboklab(87.23% -0.0002 0.0907)
OKLCHoklch(87.23% 0.091 90.1)
XYZxyz(62.8457, 66.4069, 35.4887)
Luminance0.6641 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD38F #8FA8EC
analogous
#ECA58F #ECD38F #D7EC8F
triadic
#ECD38F #8FECD3 #D38FEC
tetradic
#ECD38F #8FECA5 #8FA8EC #EC8FD7
square
#ECD38F #8FECA5 #8FA8EC #EC8FD7
split-complementary
#ECD38F #8FD7EC #A58FEC
monochromatic
#DAAA26 #E3BE5B #ECD38F #F5E8C3 #FBF5E5

Accessibility & contrast

On white

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

On black

14.28
#ECD38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD38F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD38F#FFFFFF#000000##000000
##ECD38F1.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D18A
Deuteranopia (green-blind)
#E8D891
Tritanopia (blue-blind)
#FAC9C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd38f;
/* rgb */ color: rgb(236, 211, 143);
/* oklch */ color: oklch(87.2% 0.091 90.1);
Tailwind
colors: {
  custom: {
    50: '#f3e0b0',
    500: '#ecd38f',
    950: '#000000',
  },
}
SCSS
$custom: #ecd38f;
$custom-light: #f3e0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd38f",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 143
  },
  "hsl": {
    "h": 43.871,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.8723,
    "c": 0.09073,
    "h": 90.1
  },
  "luminance": 0.66405
}

Semantic roles & 50–950 ramp

primary
#ECD38F
secondary
#5876C7
accent
#46D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD38F

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

Preview Lab → · Contrast checker → · Palette generator →

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