#ECE36E#ECE36E

#ECE36E is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 90.0% C 0.139 H 104.8°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#ECE36E
RGBrgb(236, 227, 110)
HSLhsl(56, 77%, 68%)
HSVhsv(56, 53%, 93%)
CMYKcmyk(0%, 3.8%, 53.4%, 7.5%)
CIE-LABlab(88.87, -11.81, 57.39)
CIE-LCHlch(88.87, 58.59, 101.63°)
OKLaboklab(90% -0.0356 0.1343)
OKLCHoklch(90% 0.139 104.8)
XYZxyz(64.8775, 73.8989, 25.5952)
Luminance0.7390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE36E #6E77EC
analogous
#ECA46E #ECE36E #B6EC6E
triadic
#ECE36E #6EECE3 #E36EEC
tetradic
#ECE36E #6EECA4 #6E77EC #EC6EB6
square
#ECE36E #6EECA4 #6E77EC #EC6EB6
split-complementary
#ECE36E #6EB6EC #A46EEC
monochromatic
#C6B91A #E5D938 #ECE36E #F3EDA4 #FAF8DA

Accessibility & contrast

On white

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

On black

15.78
#ECE36E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE36E
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE36E#FFFFFF#000000##000000
##ECE36E1.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC63
Deuteranopia (green-blind)
#F7E274
Tritanopia (blue-blind)
#FBD6C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ece36e;
/* rgb */ color: rgb(236, 227, 110);
/* oklch */ color: oklch(90.0% 0.139 104.8);
Tailwind
colors: {
  custom: {
    50: '#f5eb9b',
    500: '#ece36e',
    950: '#000000',
  },
}
SCSS
$custom: #ece36e;
$custom-light: #f5eb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ece36e",
  "rgb": {
    "r": 236,
    "g": 227,
    "b": 110
  },
  "hsl": {
    "h": 55.714,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90001,
    "c": 0.13888,
    "h": 104.8
  },
  "luminance": 0.73897
}

Semantic roles & 50–950 ramp

primary
#ECE36E
secondary
#3B45C3
accent
#1BD90C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECE36E

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

Preview Lab → · Contrast checker → · Palette generator →

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