#ECD37F#ECD37F

#ECD37F is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 87.0% C 0.108 H 93.4°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#ECD37F
RGBrgb(236, 211, 127)
HSLhsl(46, 74%, 71%)
HSVhsv(46, 46%, 93%)
CMYKcmyk(0%, 10.6%, 46.2%, 7.5%)
CIE-LABlab(84.97, -2.26, 44.60)
CIE-LCHlch(84.97, 44.66, 92.90°)
OKLaboklab(86.98% -0.0063 0.1076)
OKLCHoklch(86.98% 0.108 93.4)
XYZxyz(61.7189, 65.9562, 29.5543)
Luminance0.6595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD37F #7F98EC
analogous
#EC9C7F #ECD37F #CEEC7F
triadic
#ECD37F #7FECD3 #D37FEC
tetradic
#ECD37F #7FEC9C #7F98EC #EC7FCE
square
#ECD37F #7FEC9C #7F98EC #EC7FCE
split-complementary
#ECD37F #7FCEEC #9C7FEC
monochromatic
#D2A91F #E4C14A #ECD37F #F4E5B4 #FBF6E4

Accessibility & contrast

On white

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

On black

14.19
#ECD37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD37F
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD37F#FFFFFF#000000##000000
##ECD37F1.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D078
Deuteranopia (green-blind)
#EAD782
Tritanopia (blue-blind)
#FBC7BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd37f;
/* rgb */ color: rgb(236, 211, 127);
/* oklch */ color: oklch(87.0% 0.108 93.4);
Tailwind
colors: {
  custom: {
    50: '#f4e0a5',
    500: '#ecd37f',
    950: '#000000',
  },
}
SCSS
$custom: #ecd37f;
$custom-light: #f4e0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd37f",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 127
  },
  "hsl": {
    "h": 46.239,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.86975,
    "c": 0.10773,
    "h": 93.4
  },
  "luminance": 0.65954
}

Semantic roles & 50–950 ramp

primary
#ECD37F
secondary
#4A66C6
accent
#3DD60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD37F

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

Preview Lab → · Contrast checker → · Palette generator →

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