#ECFB5D#ECFB5D

#ECFB5D is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 94.8% C 0.178 H 114.4°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#ECFB5D
RGBrgb(236, 251, 93)
HSLhsl(66, 95%, 67%)
HSVhsv(66, 63%, 98%)
CMYKcmyk(6%, 0%, 62.9%, 1.6%)
CIE-LABlab(95.00, -24.63, 71.37)
CIE-LCHlch(95.00, 75.51, 109.04°)
OKLaboklab(94.84% -0.0736 0.162)
OKLCHoklch(94.84% 0.178 114.4)
XYZxyz(71.0668, 87.6188, 23.5222)
Luminance0.8762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB5D #6C5DFB
analogous
#FBBB5D #ECFB5D #9DFB5D
triadic
#ECFB5D #5DECFB #FB5DEC
tetradic
#ECFB5D #5DFBBB #6C5DFB #FB5D9D
square
#ECFB5D #5DFBBB #6C5DFB #FB5D9D
split-complementary
#ECFB5D #5D9DFB #BB5DFB
monochromatic
#C4D805 #E5FA21 #ECFB5D #F3FC99 #FAFED4

Accessibility & contrast

On white

1.13
#ECFB5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.52
#ECFB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB5D
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB5D#FFFFFF#000000##000000
##ECFB5D1.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF48
Deuteranopia (green-blind)
#FFF268
Tritanopia (blue-blind)
#FAEDDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb5d;
/* rgb */ color: rgb(236, 251, 93);
/* oklch */ color: oklch(94.8% 0.178 114.4);
Tailwind
colors: {
  custom: {
    50: '#f5fc92',
    500: '#ecfb5d',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb5d;
$custom-light: #f5fc92;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb5d",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 93
  },
  "hsl": {
    "h": 65.696,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.94841,
    "c": 0.17794,
    "h": 114.4
  },
  "luminance": 0.87618
}

Semantic roles & 50–950 ramp

primary
#ECFB5D
secondary
#3A2AD2
accent
#00E616
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECFB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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