#ECFA5B#ECFA5B

#ECFA5B is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.6% C 0.178 H 114.1°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#ECFA5B
RGBrgb(236, 250, 91)
HSLhsl(65, 94%, 67%)
HSVhsv(65, 64%, 98%)
CMYKcmyk(5.6%, 0%, 63.6%, 2%)
CIE-LABlab(94.72, -24.28, 71.86)
CIE-LCHlch(94.72, 75.85, 108.67°)
OKLaboklab(94.61% -0.0728 0.1628)
OKLCHoklch(94.61% 0.178 114.1)
XYZxyz(70.6678, 86.9607, 22.9579)
Luminance0.8696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA5B #695BFA
analogous
#FAB95B #ECFA5B #9DFA5B
triadic
#ECFA5B #5BECFA #FA5BEC
tetradic
#ECFA5B #5BFAB9 #695BFA #FA5B9D
square
#ECFA5B #5BFAB9 #695BFA #FA5B9D
split-complementary
#ECFA5B #5B9DFA #B95BFA
monochromatic
#C2D406 #E5F820 #ECFA5B #F3FC96 #FAFED2

Accessibility & contrast

On white

1.14
#ECFA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.39
#ECFA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA5B
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA5B#FFFFFF#000000##000000
##ECFA5B1.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE46
Deuteranopia (green-blind)
#FFF166
Tritanopia (blue-blind)
#FBECD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfa5b;
/* rgb */ color: rgb(236, 250, 91);
/* oklch */ color: oklch(94.6% 0.178 114.1);
Tailwind
colors: {
  custom: {
    50: '#f5fb91',
    500: '#ecfa5b',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa5b;
$custom-light: #f5fb91;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa5b",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 91
  },
  "hsl": {
    "h": 65.283,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.94614,
    "c": 0.1783,
    "h": 114.1
  },
  "luminance": 0.86959
}

Semantic roles & 50–950 ramp

primary
#ECFA5B
secondary
#392BCF
accent
#00E614
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECFA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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