#ECE949#ECE949

#ECE949 is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 90.9% C 0.173 H 108.3°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#ECE949
RGBrgb(236, 233, 73)
HSLhsl(59, 81%, 61%)
HSVhsv(59, 69%, 93%)
CMYKcmyk(0%, 1.3%, 69.1%, 7.5%)
CIE-LABlab(90.13, -17.10, 73.91)
CIE-LCHlch(90.13, 75.86, 103.03°)
OKLaboklab(90.91% -0.0544 0.1643)
OKLCHoklch(90.91% 0.173 108.3)
XYZxyz(64.9359, 76.5938, 17.6655)
Luminance0.7659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE949 #494CEC
analogous
#EC9849 #ECE949 #9DEC49
triadic
#ECE949 #49ECE9 #E949EC
tetradic
#ECE949 #49EC98 #494CEC #EC499D
square
#ECE949 #49EC98 #494CEC #EC499D
split-complementary
#ECE949 #499DEC #9849EC
monochromatic
#A9A612 #E0DD17 #ECE949 #F2F080 #F8F6B8

Accessibility & contrast

On white

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

On black

16.32
#ECE949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE949
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE949#FFFFFF#000000##000000
##ECE9491.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE02E
Deuteranopia (green-blind)
#FEE554
Tritanopia (blue-blind)
#FDDACA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece949;
/* rgb */ color: rgb(236, 233, 73);
/* oklch */ color: oklch(90.9% 0.173 108.3);
Tailwind
colors: {
  custom: {
    50: '#f6ef85',
    500: '#ece949',
    950: '#000000',
  },
}
SCSS
$custom: #ece949;
$custom-light: #f6ef85;
$custom-dark: #000000;
JSON
{
  "hex": "#ece949",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 73
  },
  "hsl": {
    "h": 58.896,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.90907,
    "c": 0.17307,
    "h": 108.3
  },
  "luminance": 0.76592
}

Semantic roles & 50–950 ramp

primary
#ECE949
secondary
#2F31AA
accent
#0CDD08
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECE949

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

Preview Lab → · Contrast checker → · Palette generator →

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