#ECE186#ECE186

#ECE186 is a very light, moderate yellow. Relative luminance 0.734; OKLCH L 89.9% C 0.113 H 102.4°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#ECE186
RGBrgb(236, 225, 134)
HSLhsl(54, 73%, 73%)
HSVhsv(54, 43%, 93%)
CMYKcmyk(0%, 4.7%, 43.2%, 7.5%)
CIE-LABlab(88.64, -8.67, 45.73)
CIE-LCHlch(88.64, 46.55, 100.74°)
OKLaboklab(89.91% -0.0242 0.1105)
OKLCHoklch(89.91% 0.113 102.4)
XYZxyz(65.8218, 73.4064, 33.2512)
Luminance0.7340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE186 #8691EC
analogous
#ECAE86 #ECE186 #C4EC86
triadic
#ECE186 #86ECE1 #E186EC
tetradic
#ECE186 #86ECAE #8691EC #EC86C4
square
#ECE186 #86ECAE #8691EC #EC86C4
split-complementary
#ECE186 #86C4EC #AE86EC
monochromatic
#D6C322 #E4D451 #ECE186 #F4EEBB #FBF8E5

Accessibility & contrast

On white

1.34
#ECE186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#ECE186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE186
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE186#FFFFFF#000000##000000
##ECE1861.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB7F
Deuteranopia (green-blind)
#F4E18A
Tritanopia (blue-blind)
#FAD6CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ece186;
/* rgb */ color: rgb(236, 225, 134);
/* oklch */ color: oklch(89.9% 0.113 102.4);
Tailwind
colors: {
  custom: {
    50: '#f4eaaa',
    500: '#ece186',
    950: '#000000',
  },
}
SCSS
$custom: #ece186;
$custom-light: #f4eaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ece186",
  "rgb": {
    "r": 236,
    "g": 225,
    "b": 134
  },
  "hsl": {
    "h": 53.529,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89907,
    "c": 0.11314,
    "h": 102.4
  },
  "luminance": 0.73405
}

Semantic roles & 50–950 ramp

primary
#ECE186
secondary
#505DC6
accent
#26D511
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #ECE186

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

Preview Lab → · Contrast checker → · Palette generator →

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