#ECD37B#ECD37B

#ECD37B is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.9% C 0.112 H 94.0°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#ECD37B
RGBrgb(236, 211, 123)
HSLhsl(47, 75%, 70%)
HSVhsv(47, 48%, 93%)
CMYKcmyk(0%, 10.6%, 47.9%, 7.5%)
CIE-LABlab(84.92, -2.63, 46.51)
CIE-LCHlch(84.92, 46.58, 93.24°)
OKLaboklab(86.92% -0.0078 0.1115)
OKLCHoklch(86.92% 0.112 94)
XYZxyz(61.4634, 65.8540, 28.2086)
Luminance0.6585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD37B #7B94EC
analogous
#EC9B7B #ECD37B #CCEC7B
triadic
#ECD37B #7BECD3 #D37BEC
tetradic
#ECD37B #7BEC9B #7B94EC #EC7BCC
square
#ECD37B #7BEC9B #7B94EC #EC7BCC
split-complementary
#ECD37B #7BCCEC #9B7BEC
monochromatic
#CFA81E #E4C146 #ECD37B #F4E5B0 #FBF6E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD37B#FFFFFF#000000##000000
##ECD37B1.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)
#E4D074
Deuteranopia (green-blind)
#EAD77E
Tritanopia (blue-blind)
#FBC7BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd37b;
/* rgb */ color: rgb(236, 211, 123);
/* oklch */ color: oklch(86.9% 0.112 94.0);
Tailwind
colors: {
  custom: {
    50: '#f4e0a3',
    500: '#ecd37b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd37b;
$custom-light: #f4e0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd37b",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 123
  },
  "hsl": {
    "h": 46.726,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86916,
    "c": 0.11181,
    "h": 94
  },
  "luminance": 0.65851
}

Semantic roles & 50–950 ramp

primary
#ECD37B
secondary
#4662C5
accent
#3BD70F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD37B

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

Preview Lab → · Contrast checker → · Palette generator →

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