#ECFB7B#ECFB7B

#ECFB7B is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.1% C 0.153 H 114.9°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#ECFB7B
RGBrgb(236, 251, 123)
HSLhsl(67, 94%, 73%)
HSVhsv(67, 51%, 98%)
CMYKcmyk(6%, 0%, 51%, 1.6%)
CIE-LABlab(95.27, -22.42, 58.95)
CIE-LCHlch(95.27, 63.07, 110.82°)
OKLaboklab(95.14% -0.0644 0.1389)
OKLCHoklch(95.14% 0.153 114.9)
XYZxyz(72.6656, 88.2583, 31.9426)
Luminance0.8826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB7B #8A7BFB
analogous
#FBCA7B #ECFB7B #ACFB7B
triadic
#ECFB7B #7BECFB #FB7BEC
tetradic
#ECFB7B #7BFBCA #8A7BFB #FB7BAC
square
#ECFB7B #7BFBCA #8A7BFB #FB7BAC
split-complementary
#ECFB7B #7BACFB #CA7BFB
monochromatic
#D8F407 #E3F940 #ECFB7B #F5FDB6 #FBFEE1

Accessibility & contrast

On white

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

On black

18.65
#ECFB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB7B
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB7B#FFFFFF#000000##000000
##ECFB7B1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06F
Deuteranopia (green-blind)
#FFF382
Tritanopia (blue-blind)
#F9EFDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb7b;
/* rgb */ color: rgb(236, 251, 123);
/* oklch */ color: oklch(95.1% 0.153 114.9);
Tailwind
colors: {
  custom: {
    50: '#f4fca4',
    500: '#ecfb7b',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb7b;
$custom-light: #f4fca4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb7b",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 123
  },
  "hsl": {
    "h": 67.031,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95144,
    "c": 0.15311,
    "h": 114.9
  },
  "luminance": 0.88257
}

Semantic roles & 50–950 ramp

primary
#ECFB7B
secondary
#5442D8
accent
#00E61B
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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