#ECE49A#ECE49A

#ECE49A is a very light, moderate yellow. Relative luminance 0.757; OKLCH L 90.8% C 0.094 H 102.8°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#ECE49A
RGBrgb(236, 228, 154)
HSLhsl(54, 68%, 76%)
HSVhsv(54, 35%, 93%)
CMYKcmyk(0%, 3.4%, 34.7%, 7.5%)
CIE-LABlab(89.70, -8.04, 37.14)
CIE-LCHlch(89.70, 38.00, 102.21°)
OKLaboklab(90.84% -0.0209 0.0918)
OKLCHoklch(90.84% 0.094 102.8)
XYZxyz(68.1691, 75.6544, 41.5773)
Luminance0.7565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE49A #9AA2EC
analogous
#ECBB9A #ECE49A #CBEC9A
triadic
#ECE49A #9AECE4 #E49AEC
tetradic
#ECE49A #9AECBB #9AA2EC #EC9ACB
square
#ECE49A #9AECBB #9AA2EC #EC9ACB
split-complementary
#ECE49A #9ACBEC #BB9AEC
monochromatic
#D9C833 #E2D666 #ECE49A #F6F2CE #FAF8E5

Accessibility & contrast

On white

1.30
#ECE49A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#ECE49A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE49A
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE49A#FFFFFF#000000##000000
##ECE49A1.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DF95
Deuteranopia (green-blind)
#F4E49D
Tritanopia (blue-blind)
#F8DAD1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ece49a;
/* rgb */ color: rgb(236, 228, 154);
/* oklch */ color: oklch(90.8% 0.094 102.8);
Tailwind
colors: {
  custom: {
    50: '#f3ecb8',
    500: '#ece49a',
    950: '#000000',
  },
}
SCSS
$custom: #ece49a;
$custom-light: #f3ecb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ece49a",
  "rgb": {
    "r": 236,
    "g": 228,
    "b": 154
  },
  "hsl": {
    "h": 54.146,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.90839,
    "c": 0.09415,
    "h": 102.8
  },
  "luminance": 0.75653
}

Semantic roles & 50–950 ramp

primary
#ECE49A
secondary
#626CC8
accent
#27D015
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECE49A

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

Preview Lab → · Contrast checker → · Palette generator →

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