#ECFB6C#ECFB6C

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

Color values

HEX#ECFB6C
RGBrgb(236, 251, 108)
HSLhsl(66, 95%, 70%)
HSVhsv(66, 57%, 98%)
CMYKcmyk(6%, 0%, 57%, 1.6%)
CIE-LABlab(95.12, -23.61, 65.37)
CIE-LCHlch(95.12, 69.50, 109.86°)
OKLaboklab(94.98% -0.0693 0.1512)
OKLCHoklch(94.98% 0.166 114.6)
XYZxyz(71.7975, 87.9111, 27.3708)
Luminance0.8791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB6C #7B6CFB
analogous
#FBC36C #ECFB6C #A4FB6C
triadic
#ECFB6C #6CECFB #FB6CEC
tetradic
#ECFB6C #6CFBC3 #7B6CFB #FB6CA4
square
#ECFB6C #6CFBC3 #7B6CFB #FB6CA4
split-complementary
#ECFB6C #6CA4FB #C36CFB
monochromatic
#CFE606 #E4F930 #ECFB6C #F4FDA8 #FBFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFB6C#FFFFFF#000000##000000
##ECFB6C1.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)
#FFF05C
Deuteranopia (green-blind)
#FFF275
Tritanopia (blue-blind)
#FAEEDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb6c;
/* rgb */ color: rgb(236, 251, 108);
/* oklch */ color: oklch(95.0% 0.166 114.6);
Tailwind
colors: {
  custom: {
    50: '#f5fc9b',
    500: '#ecfb6c',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb6c;
$custom-light: #f5fc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb6c",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 108
  },
  "hsl": {
    "h": 66.294,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9498,
    "c": 0.16629,
    "h": 114.6
  },
  "luminance": 0.8791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFB6C

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

Preview Lab → · Contrast checker → · Palette generator →

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