#ECE05B#ECE05B

#ECE05B is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.2% C 0.152 H 104.2°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#ECE05B
RGBrgb(236, 224, 91)
HSLhsl(55, 79%, 64%)
HSVhsv(55, 61%, 93%)
CMYKcmyk(0%, 5.1%, 61.4%, 7.5%)
CIE-LABlab(87.92, -11.67, 64.64)
CIE-LCHlch(87.92, 65.69, 100.23°)
OKLaboklab(89.19% -0.0372 0.1475)
OKLCHoklch(89.19% 0.152 104.2)
XYZxyz(63.1383, 71.9018, 20.4481)
Luminance0.7190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE05B #5B67EC
analogous
#EC975B #ECE05B #B0EC5B
triadic
#ECE05B #5BECE0 #E05BEC
tetradic
#ECE05B #5BEC97 #5B67EC #EC5BB0
square
#ECE05B #5BEC97 #5B67EC #EC5BB0
split-complementary
#ECE05B #5BB0EC #975BEC
monochromatic
#B7AA15 #E6D624 #ECE05B #F2EA92 #F9F5C9

Accessibility & contrast

On white

1.37
#ECE05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#ECE05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE05B
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE05B#FFFFFF#000000##000000
##ECE05B1.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D94B
Deuteranopia (green-blind)
#F6DF63
Tritanopia (blue-blind)
#FCD2C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ece05b;
/* rgb */ color: rgb(236, 224, 91);
/* oklch */ color: oklch(89.2% 0.152 104.2);
Tailwind
colors: {
  custom: {
    50: '#f5e98f',
    500: '#ece05b',
    950: '#000000',
  },
}
SCSS
$custom: #ece05b;
$custom-light: #f5e98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ece05b",
  "rgb": {
    "r": 236,
    "g": 224,
    "b": 91
  },
  "hsl": {
    "h": 55.034,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89186,
    "c": 0.15211,
    "h": 104.2
  },
  "luminance": 0.719
}

Semantic roles & 50–950 ramp

primary
#ECE05B
secondary
#343FB7
accent
#1BDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #ECE05B

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

Preview Lab → · Contrast checker → · Palette generator →

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