#ECCE6F#ECCE6F

#ECCE6F is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.8% C 0.120 H 92.2°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#ECCE6F
RGBrgb(236, 206, 111)
HSLhsl(46, 77%, 68%)
HSVhsv(46, 53%, 93%)
CMYKcmyk(0%, 12.7%, 53%, 7.5%)
CIE-LABlab(83.51, -1.11, 50.61)
CIE-LCHlch(83.51, 50.62, 91.26°)
OKLaboklab(85.75% -0.0046 0.1196)
OKLCHoklch(85.75% 0.12 92.2)
XYZxyz(59.5349, 63.1259, 24.0844)
Luminance0.6312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE6F #6F8DEC
analogous
#EC8F6F #ECCE6F #CBEC6F
triadic
#ECCE6F #6FECCE #CE6FEC
tetradic
#ECCE6F #6FEC8F #6F8DEC #EC6FCB
square
#ECCE6F #6FEC8F #6F8DEC #EC6FCB
split-complementary
#ECCE6F #6FCBEC #8F6FEC
monochromatic
#C69D1A #E5BC39 #ECCE6F #F3E0A5 #FAF3DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCE6F#FFFFFF#000000##000000
##ECCE6F1.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)
#E0CB67
Deuteranopia (green-blind)
#E8D473
Tritanopia (blue-blind)
#FCC1B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ecce6f;
/* rgb */ color: rgb(236, 206, 111);
/* oklch */ color: oklch(85.8% 0.120 92.2);
Tailwind
colors: {
  custom: {
    50: '#f5dc9a',
    500: '#ecce6f',
    950: '#000000',
  },
}
SCSS
$custom: #ecce6f;
$custom-light: #f5dc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce6f",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 111
  },
  "hsl": {
    "h": 45.6,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85753,
    "c": 0.11972,
    "h": 92.2
  },
  "luminance": 0.63123
}

Semantic roles & 50–950 ramp

primary
#ECCE6F
secondary
#3B5CC4
accent
#3ED90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECCE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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