#ECE55D#ECE55D

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

Color values

HEX#ECE55D
RGBrgb(236, 229, 93)
HSLhsl(57, 79%, 65%)
HSVhsv(57, 61%, 93%)
CMYKcmyk(0%, 3%, 60.6%, 7.5%)
CIE-LABlab(89.24, -14.01, 65.22)
CIE-LCHlch(89.24, 66.71, 102.13°)
OKLaboklab(90.24% -0.0437 0.149)
OKLCHoklch(90.24% 0.155 106.3)
XYZxyz(64.5893, 74.6639, 21.3631)
Luminance0.7466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE55D #5D64EC
analogous
#EC9E5D #ECE55D #ACEC5D
triadic
#ECE55D #5DECE5 #E55DEC
tetradic
#ECE55D #5DEC9E #5D64EC #EC5DAC
square
#ECE55D #5DEC9E #5D64EC #EC5DAC
split-complementary
#ECE55D #5DACEC #9E5DEC
monochromatic
#B9B116 #E6DC26 #ECE55D #F2EE94 #F9F7CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECE55D#FFFFFF#000000##000000
##ECE55D1.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)
#F7DD4D
Deuteranopia (green-blind)
#FAE365
Tritanopia (blue-blind)
#FCD7C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece55d;
/* rgb */ color: rgb(236, 229, 93);
/* oklch */ color: oklch(90.2% 0.155 106.3);
Tailwind
colors: {
  custom: {
    50: '#f5ed90',
    500: '#ece55d',
    950: '#000000',
  },
}
SCSS
$custom: #ece55d;
$custom-light: #f5ed90;
$custom-dark: #000000;
JSON
{
  "hex": "#ece55d",
  "rgb": {
    "r": 236,
    "g": 229,
    "b": 93
  },
  "hsl": {
    "h": 57.063,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90237,
    "c": 0.15527,
    "h": 106.3
  },
  "luminance": 0.74662
}

Semantic roles & 50–950 ramp

primary
#ECE55D
secondary
#353BB8
accent
#14DB0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE55D

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

Preview Lab → · Contrast checker → · Palette generator →

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