#ECE86A#ECE86A

#ECE86A is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.0% C 0.147 H 107.3°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#ECE86A
RGBrgb(236, 232, 106)
HSLhsl(58, 77%, 67%)
HSVhsv(58, 55%, 93%)
CMYKcmyk(0%, 1.7%, 55.1%, 7.5%)
CIE-LABlab(90.13, -14.59, 60.62)
CIE-LCHlch(90.13, 62.35, 103.53°)
OKLaboklab(90.99% -0.0439 0.1408)
OKLCHoklch(90.99% 0.147 107.3)
XYZxyz(66.0521, 76.5886, 24.9365)
Luminance0.7659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE86A #6A6EEC
analogous
#ECA76A #ECE86A #AFEC6A
triadic
#ECE86A #6AECE8 #E86AEC
tetradic
#ECE86A #6AECA7 #6A6EEC #EC6AAF
square
#ECE86A #6AECA7 #6A6EEC #EC6AAF
split-complementary
#ECE86A #6AAFEC #A76AEC
monochromatic
#C3BE19 #E5E034 #ECE86A #F3F0A0 #FAF9D7

Accessibility & contrast

On white

1.29
#ECE86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#ECE86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE86A
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE86A#FFFFFF#000000##000000
##ECE86A1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05D
Deuteranopia (green-blind)
#FCE571
Tritanopia (blue-blind)
#FBDBCC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece86a;
/* rgb */ color: rgb(236, 232, 106);
/* oklch */ color: oklch(91.0% 0.147 107.3);
Tailwind
colors: {
  custom: {
    50: '#f5ef98',
    500: '#ece86a',
    950: '#000000',
  },
}
SCSS
$custom: #ece86a;
$custom-light: #f5ef98;
$custom-dark: #000000;
JSON
{
  "hex": "#ece86a",
  "rgb": {
    "r": 236,
    "g": 232,
    "b": 106
  },
  "hsl": {
    "h": 58.154,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90988,
    "c": 0.14748,
    "h": 107.3
  },
  "luminance": 0.76587
}

Semantic roles & 50–950 ramp

primary
#ECE86A
secondary
#393EC1
accent
#12DA0C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #ECE86A

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

Preview Lab → · Contrast checker → · Palette generator →

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