#ECEA49#ECEA49

#ECEA49 is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.1% C 0.174 H 108.7°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#ECEA49
RGBrgb(236, 234, 73)
HSLhsl(59, 81%, 61%)
HSVhsv(59, 69%, 93%)
CMYKcmyk(0%, 0.8%, 69.1%, 7.5%)
CIE-LABlab(90.40, -17.59, 74.17)
CIE-LCHlch(90.40, 76.22, 103.34°)
OKLaboklab(91.12% -0.0558 0.1648)
OKLCHoklch(91.12% 0.174 108.7)
XYZxyz(65.2198, 77.1616, 17.7602)
Luminance0.7716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEA49 #494BEC
analogous
#EC9849 #ECEA49 #9CEC49
triadic
#ECEA49 #49ECEA #EA49EC
tetradic
#ECEA49 #49EC98 #494BEC #EC499C
square
#ECEA49 #49EC98 #494BEC #EC499C
split-complementary
#ECEA49 #499CEC #9849EC
monochromatic
#A9A712 #E0DE17 #ECEA49 #F2F080 #F8F7B8

Accessibility & contrast

On white

1.28
#ECEA49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#ECEA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEA49
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEA49#FFFFFF#000000##000000
##ECEA491.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE12E
Deuteranopia (green-blind)
#FFE655
Tritanopia (blue-blind)
#FDDBCA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ecea49;
/* rgb */ color: rgb(236, 234, 73);
/* oklch */ color: oklch(91.1% 0.174 108.7);
Tailwind
colors: {
  custom: {
    50: '#f6f085',
    500: '#ecea49',
    950: '#000000',
  },
}
SCSS
$custom: #ecea49;
$custom-light: #f6f085;
$custom-dark: #000000;
JSON
{
  "hex": "#ecea49",
  "rgb": {
    "r": 236,
    "g": 234,
    "b": 73
  },
  "hsl": {
    "h": 59.264,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.91116,
    "c": 0.17401,
    "h": 108.7
  },
  "luminance": 0.7716
}

Semantic roles & 50–950 ramp

primary
#ECEA49
secondary
#2F30AA
accent
#0BDD08
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECEA49

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

Preview Lab → · Contrast checker → · Palette generator →

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