#ECE55F#ECE55F

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

Color values

HEX#ECE55F
RGBrgb(236, 229, 95)
HSLhsl(57, 79%, 65%)
HSVhsv(57, 60%, 93%)
CMYKcmyk(0%, 3%, 59.7%, 7.5%)
CIE-LABlab(89.25, -13.88, 64.40)
CIE-LCHlch(89.25, 65.88, 102.17°)
OKLaboklab(90.26% -0.0431 0.1475)
OKLCHoklch(90.26% 0.154 106.3)
XYZxyz(64.6791, 74.6998, 21.8357)
Luminance0.7470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE55F #5F66EC
analogous
#EC9E5F #ECE55F #ADEC5F
triadic
#ECE55F #5FECE5 #E55FEC
tetradic
#ECE55F #5FEC9E #5F66EC #EC5FAD
square
#ECE55F #5FEC9E #5F66EC #EC5FAD
split-complementary
#ECE55F #5FADEC #9E5FEC
monochromatic
#BAB216 #E6DC28 #ECE55F #F2EE96 #F9F7CC

Accessibility & contrast

On white

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

On black

15.94
#ECE55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE55F
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE55F#FFFFFF#000000##000000
##ECE55F1.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece55f;
/* rgb */ color: rgb(236, 229, 95);
/* oklch */ color: oklch(90.3% 0.154 106.3);
Tailwind
colors: {
  custom: {
    50: '#f5ed92',
    500: '#ece55f',
    950: '#000000',
  },
}
SCSS
$custom: #ece55f;
$custom-light: #f5ed92;
$custom-dark: #000000;
JSON
{
  "hex": "#ece55f",
  "rgb": {
    "r": 236,
    "g": 229,
    "b": 95
  },
  "hsl": {
    "h": 57.021,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90256,
    "c": 0.15368,
    "h": 106.3
  },
  "luminance": 0.74698
}

Semantic roles & 50–950 ramp

primary
#ECE55F
secondary
#363CBA
accent
#15DB0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE55F

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

Preview Lab → · Contrast checker → · Palette generator →

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