#ECCE6D#ECCE6D

#ECCE6D is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.7% C 0.122 H 92.5°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#ECCE6D
RGBrgb(236, 206, 109)
HSLhsl(46, 77%, 68%)
HSVhsv(46, 54%, 93%)
CMYKcmyk(0%, 12.7%, 53.8%, 7.5%)
CIE-LABlab(83.49, -1.27, 51.54)
CIE-LCHlch(83.49, 51.56, 91.41°)
OKLaboklab(85.73% -0.0053 0.1215)
OKLCHoklch(85.73% 0.122 92.5)
XYZxyz(59.4260, 63.0824, 23.5110)
Luminance0.6308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE6D #6D8BEC
analogous
#EC8F6D #ECCE6D #CAEC6D
triadic
#ECCE6D #6DECCE #CE6DEC
tetradic
#ECCE6D #6DEC8F #6D8BEC #EC6DCA
square
#ECCE6D #6DEC8F #6D8BEC #EC6DCA
split-complementary
#ECCE6D #6DCAEC #8F6DEC
monochromatic
#C59C1A #E5BC37 #ECCE6D #F3E0A3 #FAF2D9

Accessibility & contrast

On white

1.54
#ECCE6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#ECCE6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCE6D
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCE6D#FFFFFF#000000##000000
##ECCE6D1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB64
Deuteranopia (green-blind)
#E8D471
Tritanopia (blue-blind)
#FDC1B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ecce6d;
/* rgb */ color: rgb(236, 206, 109);
/* oklch */ color: oklch(85.7% 0.122 92.5);
Tailwind
colors: {
  custom: {
    50: '#f5dc99',
    500: '#ecce6d',
    950: '#000000',
  },
}
SCSS
$custom: #ecce6d;
$custom-light: #f5dc99;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce6d",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 109
  },
  "hsl": {
    "h": 45.827,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85727,
    "c": 0.12159,
    "h": 92.5
  },
  "luminance": 0.6308
}

Semantic roles & 50–950 ramp

primary
#ECCE6D
secondary
#3A5BC3
accent
#3DD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECCE6D

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

Preview Lab → · Contrast checker → · Palette generator →

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