#ECE287#ECE287

#ECE287 is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 90.1% C 0.113 H 102.9°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#ECE287
RGBrgb(236, 226, 135)
HSLhsl(54, 73%, 73%)
HSVhsv(54, 43%, 93%)
CMYKcmyk(0%, 4.2%, 42.8%, 7.5%)
CIE-LABlab(88.91, -9.08, 45.58)
CIE-LCHlch(88.91, 46.48, 101.26°)
OKLaboklab(90.13% -0.0253 0.1102)
OKLCHoklch(90.13% 0.113 102.9)
XYZxyz(66.1630, 73.9767, 33.7106)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE287 #8791EC
analogous
#ECAF87 #ECE287 #C4EC87
triadic
#ECE287 #87ECE2 #E287EC
tetradic
#ECE287 #87ECAF #8791EC #EC87C4
square
#ECE287 #87ECAF #8791EC #EC87C4
split-complementary
#ECE287 #87C4EC #AF87EC
monochromatic
#D7C522 #E4D552 #ECE287 #F4EFBC #FBF9E5

Accessibility & contrast

On white

1.33
#ECE287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#ECE287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE287
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE287#FFFFFF#000000##000000
##ECE2871.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC80
Deuteranopia (green-blind)
#F4E28B
Tritanopia (blue-blind)
#F9D7CC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ece287;
/* rgb */ color: rgb(236, 226, 135);
/* oklch */ color: oklch(90.1% 0.113 102.9);
Tailwind
colors: {
  custom: {
    50: '#f4eaab',
    500: '#ece287',
    950: '#000000',
  },
}
SCSS
$custom: #ece287;
$custom-light: #f4eaab;
$custom-dark: #000000;
JSON
{
  "hex": "#ece287",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 135
  },
  "hsl": {
    "h": 54.059,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90125,
    "c": 0.1131,
    "h": 102.9
  },
  "luminance": 0.73975
}

Semantic roles & 50–950 ramp

primary
#ECE287
secondary
#515DC6
accent
#24D511
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #ECE287

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

Preview Lab → · Contrast checker → · Palette generator →

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