#ECD06F#ECD06F

#ECD06F is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.2% C 0.121 H 93.6°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#ECD06F
RGBrgb(236, 208, 111)
HSLhsl(47, 77%, 68%)
HSVhsv(47, 53%, 93%)
CMYKcmyk(0%, 11.9%, 53%, 7.5%)
CIE-LABlab(84.02, -2.14, 51.22)
CIE-LCHlch(84.02, 51.26, 92.39°)
OKLaboklab(86.15% -0.0076 0.121)
OKLCHoklch(86.15% 0.121 93.6)
XYZxyz(60.0194, 64.0950, 24.2460)
Luminance0.6409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD06F #6F8BEC
analogous
#EC916F #ECD06F #C9EC6F
triadic
#ECD06F #6FECD0 #D06FEC
tetradic
#ECD06F #6FEC91 #6F8BEC #EC6FC9
square
#ECD06F #6FEC91 #6F8BEC #EC6FC9
split-complementary
#ECD06F #6FC9EC #916FEC
monochromatic
#C6A01A #E5BE39 #ECD06F #F3E2A5 #FAF3DB

Accessibility & contrast

On white

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

On black

13.82
#ECD06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD06F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD06F#FFFFFF#000000##000000
##ECD06F1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD66
Deuteranopia (green-blind)
#E9D573
Tritanopia (blue-blind)
#FCC3BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd06f;
/* rgb */ color: rgb(236, 208, 111);
/* oklch */ color: oklch(86.2% 0.121 93.6);
Tailwind
colors: {
  custom: {
    50: '#f5de9b',
    500: '#ecd06f',
    950: '#000000',
  },
}
SCSS
$custom: #ecd06f;
$custom-light: #f5de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd06f",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 111
  },
  "hsl": {
    "h": 46.56,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86153,
    "c": 0.12119,
    "h": 93.6
  },
  "luminance": 0.64092
}

Semantic roles & 50–950 ramp

primary
#ECD06F
secondary
#3B5AC4
accent
#3AD90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD06F

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

Preview Lab → · Contrast checker → · Palette generator →

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