#ECE861#ECE861

#ECE861 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 90.9% C 0.155 H 107.5°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#ECE861
RGBrgb(236, 232, 97)
HSLhsl(58, 79%, 65%)
HSVhsv(58, 59%, 93%)
CMYKcmyk(0%, 1.7%, 58.9%, 7.5%)
CIE-LABlab(90.05, -15.23, 64.43)
CIE-LCHlch(90.05, 66.20, 103.30°)
OKLaboklab(90.9% -0.0467 0.1478)
OKLCHoklch(90.9% 0.155 107.5)
XYZxyz(65.6084, 76.4111, 22.5997)
Luminance0.7641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE861 #6165EC
analogous
#ECA261 #ECE861 #ABEC61
triadic
#ECE861 #61ECE8 #E861EC
tetradic
#ECE861 #61ECA2 #6165EC #EC61AB
square
#ECE861 #61ECA2 #6165EC #EC61AB
split-complementary
#ECE861 #61ABEC #A261EC
monochromatic
#BCB717 #E5E02A #ECE861 #F3F098 #F9F8CE

Accessibility & contrast

On white

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

On black

16.28
#ECE861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE861
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE861#FFFFFF#000000##000000
##ECE8611.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE052
Deuteranopia (green-blind)
#FCE569
Tritanopia (blue-blind)
#FCDACB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece861;
/* rgb */ color: rgb(236, 232, 97);
/* oklch */ color: oklch(90.9% 0.155 107.5);
Tailwind
colors: {
  custom: {
    50: '#f5ef93',
    500: '#ece861',
    950: '#000000',
  },
}
SCSS
$custom: #ece861;
$custom-light: #f5ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#ece861",
  "rgb": {
    "r": 236,
    "g": 232,
    "b": 97
  },
  "hsl": {
    "h": 58.273,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.90897,
    "c": 0.15502,
    "h": 107.5
  },
  "luminance": 0.76409
}

Semantic roles & 50–950 ramp

primary
#ECE861
secondary
#363ABB
accent
#11DB0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECE861

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

Preview Lab → · Contrast checker → · Palette generator →

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