#ECE17E#ECE17E

#ECE17E is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.8% C 0.121 H 102.9°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#ECE17E
RGBrgb(236, 225, 126)
HSLhsl(54, 74%, 71%)
HSVhsv(54, 47%, 93%)
CMYKcmyk(0%, 4.7%, 46.6%, 7.5%)
CIE-LABlab(88.54, -9.44, 49.49)
CIE-LCHlch(88.54, 50.38, 100.80°)
OKLaboklab(89.79% -0.0271 0.1184)
OKLCHoklch(89.79% 0.121 102.9)
XYZxyz(65.2848, 73.1916, 30.4230)
Luminance0.7319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE17E #7E89EC
analogous
#ECAA7E #ECE17E #C0EC7E
triadic
#ECE17E #7EECE1 #E17EEC
tetradic
#ECE17E #7EECAA #7E89EC #EC7EC0
square
#ECE17E #7EECAA #7E89EC #EC7EC0
split-complementary
#ECE17E #7EC0EC #AA7EEC
monochromatic
#D1BF1F #E4D549 #ECE17E #F4EDB3 #FBF9E4

Accessibility & contrast

On white

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

On black

15.64
#ECE17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE17E
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE17E#FFFFFF#000000##000000
##ECE17E1.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB76
Deuteranopia (green-blind)
#F4E182
Tritanopia (blue-blind)
#FAD5CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ece17e;
/* rgb */ color: rgb(236, 225, 126);
/* oklch */ color: oklch(89.8% 0.121 102.9);
Tailwind
colors: {
  custom: {
    50: '#f4eaa5',
    500: '#ece17e',
    950: '#000000',
  },
}
SCSS
$custom: #ece17e;
$custom-light: #f4eaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ece17e",
  "rgb": {
    "r": 236,
    "g": 225,
    "b": 126
  },
  "hsl": {
    "h": 54,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89793,
    "c": 0.12145,
    "h": 102.9
  },
  "luminance": 0.7319
}

Semantic roles & 50–950 ramp

primary
#ECE17E
secondary
#4955C5
accent
#23D60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #ECE17E

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

Preview Lab → · Contrast checker → · Palette generator →

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