#ECE55B#ECE55B

#ECE55B is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.2% C 0.157 H 106.4°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#ECE55B
RGBrgb(236, 229, 91)
HSLhsl(57, 79%, 64%)
HSVhsv(57, 61%, 93%)
CMYKcmyk(0%, 3%, 61.4%, 7.5%)
CIE-LABlab(89.22, -14.14, 66.04)
CIE-LCHlch(89.22, 67.53, 102.09°)
OKLaboklab(90.22% -0.0442 0.1504)
OKLCHoklch(90.22% 0.157 106.4)
XYZxyz(64.5019, 74.6289, 20.9026)
Luminance0.7463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE55B #5B62EC
analogous
#EC9C5B #ECE55B #ABEC5B
triadic
#ECE55B #5BECE5 #E55BEC
tetradic
#ECE55B #5BEC9C #5B62EC #EC5BAB
square
#ECE55B #5BEC9C #5B62EC #EC5BAB
split-complementary
#ECE55B #5BABEC #9C5BEC
monochromatic
#B7B015 #E6DC24 #ECE55B #F2EE92 #F9F6C9

Accessibility & contrast

On white

1.32
#ECE55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#ECE55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE55B
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE55B#FFFFFF#000000##000000
##ECE55B1.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD4A
Deuteranopia (green-blind)
#FAE363
Tritanopia (blue-blind)
#FCD7C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece55b;
/* rgb */ color: rgb(236, 229, 91);
/* oklch */ color: oklch(90.2% 0.157 106.4);
Tailwind
colors: {
  custom: {
    50: '#f5ed8f',
    500: '#ece55b',
    950: '#000000',
  },
}
SCSS
$custom: #ece55b;
$custom-light: #f5ed8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ece55b",
  "rgb": {
    "r": 236,
    "g": 229,
    "b": 91
  },
  "hsl": {
    "h": 57.103,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90218,
    "c": 0.15681,
    "h": 106.4
  },
  "luminance": 0.74627
}

Semantic roles & 50–950 ramp

primary
#ECE55B
secondary
#343BB7
accent
#14DC0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE55B

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

Preview Lab → · Contrast checker → · Palette generator →

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