#ECCE6A#ECCE6A

#ECCE6A is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.7% C 0.124 H 92.9°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#ECCE6A
RGBrgb(236, 206, 106)
HSLhsl(46, 77%, 67%)
HSVhsv(46, 55%, 93%)
CMYKcmyk(0%, 12.7%, 55.1%, 7.5%)
CIE-LABlab(83.45, -1.51, 52.92)
CIE-LCHlch(83.45, 52.94, 91.63°)
OKLaboklab(85.69% -0.0064 0.1242)
OKLCHoklch(85.69% 0.124 92.9)
XYZxyz(59.2673, 63.0189, 22.6749)
Luminance0.6302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE6A #6A88EC
analogous
#EC8D6A #ECCE6A #C9EC6A
triadic
#ECCE6A #6AECCE #CE6AEC
tetradic
#ECCE6A #6AEC8D #6A88EC #EC6AC9
square
#ECCE6A #6AEC8D #6A88EC #EC6AC9
split-complementary
#ECCE6A #6AC9EC #8D6AEC
monochromatic
#C39C19 #E5BC34 #ECCE6A #F3E0A0 #FAF2D7

Accessibility & contrast

On white

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

On black

13.60
#ECCE6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCE6A
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCE6A#FFFFFF#000000##000000
##ECCE6A1.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB61
Deuteranopia (green-blind)
#E8D46E
Tritanopia (blue-blind)
#FDC0B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ecce6a;
/* rgb */ color: rgb(236, 206, 106);
/* oklch */ color: oklch(85.7% 0.124 92.9);
Tailwind
colors: {
  custom: {
    50: '#f5dc97',
    500: '#ecce6a',
    950: '#000000',
  },
}
SCSS
$custom: #ecce6a;
$custom-light: #f5dc97;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce6a",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 106
  },
  "hsl": {
    "h": 46.154,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8569,
    "c": 0.12434,
    "h": 92.9
  },
  "luminance": 0.63016
}

Semantic roles & 50–950 ramp

primary
#ECCE6A
secondary
#3959C1
accent
#3BDA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECCE6A

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

Preview Lab → · Contrast checker → · Palette generator →

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