#ECE56A#ECE56A

#ECE56A is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.4% C 0.144 H 105.9°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#ECE56A
RGBrgb(236, 229, 106)
HSLhsl(57, 77%, 67%)
HSVhsv(57, 55%, 93%)
CMYKcmyk(0%, 3%, 55.1%, 7.5%)
CIE-LABlab(89.35, -13.11, 59.74)
CIE-LCHlch(89.35, 61.16, 102.37°)
OKLaboklab(90.37% -0.0397 0.1389)
OKLCHoklch(90.37% 0.144 105.9)
XYZxyz(65.2149, 74.9141, 24.6575)
Luminance0.7491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE56A #6A71EC
analogous
#ECA46A #ECE56A #B2EC6A
triadic
#ECE56A #6AECE5 #E56AEC
tetradic
#ECE56A #6AECA4 #6A71EC #EC6AB2
square
#ECE56A #6AECA4 #6A71EC #EC6AB2
split-complementary
#ECE56A #6AB2EC #A46AEC
monochromatic
#C3BA19 #E5DC34 #ECE56A #F3EEA0 #FAF8D7

Accessibility & contrast

On white

1.31
#ECE56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#ECE56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE56A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE56A#FFFFFF#000000##000000
##ECE56A1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5D
Deuteranopia (green-blind)
#F9E370
Tritanopia (blue-blind)
#FBD8CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece56a;
/* rgb */ color: rgb(236, 229, 106);
/* oklch */ color: oklch(90.4% 0.144 105.9);
Tailwind
colors: {
  custom: {
    50: '#f5ed98',
    500: '#ece56a',
    950: '#000000',
  },
}
SCSS
$custom: #ece56a;
$custom-light: #f5ed98;
$custom-dark: #000000;
JSON
{
  "hex": "#ece56a",
  "rgb": {
    "r": 236,
    "g": 229,
    "b": 106
  },
  "hsl": {
    "h": 56.769,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90368,
    "c": 0.14445,
    "h": 105.9
  },
  "luminance": 0.74912
}

Semantic roles & 50–950 ramp

primary
#ECE56A
secondary
#3941C1
accent
#17DA0C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECE56A

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

Preview Lab → · Contrast checker → · Palette generator →

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