#ECFB6B#ECFB6B

#ECFB6B is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.0% C 0.167 H 114.6°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#ECFB6B
RGBrgb(236, 251, 107)
HSLhsl(66, 95%, 70%)
HSVhsv(66, 57%, 98%)
CMYKcmyk(6%, 0%, 57.4%, 1.6%)
CIE-LABlab(95.11, -23.69, 65.78)
CIE-LCHlch(95.11, 69.92, 109.80°)
OKLaboklab(94.97% -0.0696 0.1519)
OKLCHoklch(94.97% 0.167 114.6)
XYZxyz(71.7446, 87.8899, 27.0921)
Luminance0.8789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB6B #7A6BFB
analogous
#FBC26B #ECFB6B #A4FB6B
triadic
#ECFB6B #6BECFB #FB6BEC
tetradic
#ECFB6B #6BFBC2 #7A6BFB #FB6BA4
square
#ECFB6B #6BFBC2 #7A6BFB #FB6BA4
split-complementary
#ECFB6B #6BA4FB #C26BFB
monochromatic
#CEE506 #E4F92F #ECFB6B #F4FDA7 #FBFEE1

Accessibility & contrast

On white

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

On black

18.58
#ECFB6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB6B
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB6B#FFFFFF#000000##000000
##ECFB6B1.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05B
Deuteranopia (green-blind)
#FFF274
Tritanopia (blue-blind)
#FAEEDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb6b;
/* rgb */ color: rgb(236, 251, 107);
/* oklch */ color: oklch(95.0% 0.167 114.6);
Tailwind
colors: {
  custom: {
    50: '#f5fc9a',
    500: '#ecfb6b',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb6b;
$custom-light: #f5fc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb6b",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 107
  },
  "hsl": {
    "h": 66.25,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9497,
    "c": 0.16711,
    "h": 114.6
  },
  "luminance": 0.87889
}

Semantic roles & 50–950 ramp

primary
#ECFB6B
secondary
#4534D6
accent
#00E618
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFB6B

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

Preview Lab → · Contrast checker → · Palette generator →

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