#ECD06B#ECD06B

#ECD06B is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.1% C 0.125 H 94.1°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#ECD06B
RGBrgb(236, 208, 107)
HSLhsl(47, 77%, 67%)
HSVhsv(47, 55%, 93%)
CMYKcmyk(0%, 11.9%, 54.7%, 7.5%)
CIE-LABlab(83.97, -2.46, 53.06)
CIE-LCHlch(83.97, 53.12, 92.65°)
OKLaboklab(86.1% -0.009 0.1246)
OKLCHoklch(86.1% 0.125 94.1)
XYZxyz(59.8041, 64.0089, 23.1119)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD06B #6B87EC
analogous
#EC906B #ECD06B #C7EC6B
triadic
#ECD06B #6BECD0 #D06BEC
tetradic
#ECD06B #6BEC90 #6B87EC #EC6BC7
square
#ECD06B #6BEC90 #6B87EC #EC6BC7
split-complementary
#ECD06B #6BC7EC #906BEC
monochromatic
#C49F19 #E5BF35 #ECD06B #F3E1A1 #FAF2D7

Accessibility & contrast

On white

1.52
#ECD06B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#ECD06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD06B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD06B#FFFFFF#000000##000000
##ECD06B1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC62
Deuteranopia (green-blind)
#E9D56F
Tritanopia (blue-blind)
#FDC3B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd06b;
/* rgb */ color: rgb(236, 208, 107);
/* oklch */ color: oklch(86.1% 0.125 94.1);
Tailwind
colors: {
  custom: {
    50: '#f5de98',
    500: '#ecd06b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd06b;
$custom-light: #f5de98;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd06b",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 107
  },
  "hsl": {
    "h": 46.977,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86103,
    "c": 0.1249,
    "h": 94.1
  },
  "luminance": 0.64006
}

Semantic roles & 50–950 ramp

primary
#ECD06B
secondary
#3A57C2
accent
#39D90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD06B

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

Preview Lab → · Contrast checker → · Palette generator →

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