#ECE86F#ECE86F

#ECE86F is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.0% C 0.143 H 107.2°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#ECE86F
RGBrgb(236, 232, 111)
HSLhsl(58, 77%, 68%)
HSVhsv(58, 53%, 93%)
CMYKcmyk(0%, 1.7%, 53%, 7.5%)
CIE-LABlab(90.18, -14.20, 58.44)
CIE-LCHlch(90.18, 60.14, 103.66°)
OKLaboklab(91.04% -0.0423 0.1366)
OKLCHoklch(91.04% 0.143 107.2)
XYZxyz(66.3197, 76.6956, 26.3461)
Luminance0.7669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE86F #6F73EC
analogous
#ECA96F #ECE86F #B1EC6F
triadic
#ECE86F #6FECE8 #E86FEC
tetradic
#ECE86F #6FECA9 #6F73EC #EC6FB1
square
#ECE86F #6FECA9 #6F73EC #EC6FB1
split-complementary
#ECE86F #6FB1EC #A96FEC
monochromatic
#C6C11A #E5DF39 #ECE86F #F3F1A5 #FAF9DB

Accessibility & contrast

On white

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

On black

16.34
#ECE86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE86F
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE86F#FFFFFF#000000##000000
##ECE86F1.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E063
Deuteranopia (green-blind)
#FBE575
Tritanopia (blue-blind)
#FBDBCD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece86f;
/* rgb */ color: rgb(236, 232, 111);
/* oklch */ color: oklch(91.0% 0.143 107.2);
Tailwind
colors: {
  custom: {
    50: '#f4ef9c',
    500: '#ece86f',
    950: '#000000',
  },
}
SCSS
$custom: #ece86f;
$custom-light: #f4ef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ece86f",
  "rgb": {
    "r": 236,
    "g": 232,
    "b": 111
  },
  "hsl": {
    "h": 58.08,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91044,
    "c": 0.14303,
    "h": 107.2
  },
  "luminance": 0.76694
}

Semantic roles & 50–950 ramp

primary
#ECE86F
secondary
#3B40C4
accent
#13D90D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #ECE86F

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

Preview Lab → · Contrast checker → · Palette generator →

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