#ECFB6E#ECFB6E

#ECFB6E is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.0% C 0.165 H 114.7°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#ECFB6E
RGBrgb(236, 251, 110)
HSLhsl(66, 95%, 71%)
HSVhsv(66, 56%, 98%)
CMYKcmyk(6%, 0%, 56.2%, 1.6%)
CIE-LABlab(95.14, -23.47, 64.53)
CIE-LCHlch(95.14, 68.67, 109.98°)
OKLaboklab(95% -0.0687 0.1496)
OKLCHoklch(95% 0.165 114.7)
XYZxyz(71.9052, 87.9541, 27.9378)
Luminance0.8795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB6E #7D6EFB
analogous
#FBC36E #ECFB6E #A5FB6E
triadic
#ECFB6E #6EECFB #FB6EEC
tetradic
#ECFB6E #6EFBC3 #7D6EFB #FB6EA5
square
#ECFB6E #6EFBC3 #7D6EFB #FB6EA5
split-complementary
#ECFB6E #6EA5FB #C36EFB
monochromatic
#D0E806 #E4F932 #ECFB6E #F4FDAA #FBFEE1

Accessibility & contrast

On white

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

On black

18.59
#ECFB6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB6E
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB6E#FFFFFF#000000##000000
##ECFB6E1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05F
Deuteranopia (green-blind)
#FFF276
Tritanopia (blue-blind)
#F9EEDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb6e;
/* rgb */ color: rgb(236, 251, 110);
/* oklch */ color: oklch(95.0% 0.165 114.7);
Tailwind
colors: {
  custom: {
    50: '#f5fc9c',
    500: '#ecfb6e',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb6e;
$custom-light: #f5fc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb6e",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 110
  },
  "hsl": {
    "h": 66.383,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95,
    "c": 0.16461,
    "h": 114.7
  },
  "luminance": 0.87953
}

Semantic roles & 50–950 ramp

primary
#ECFB6E
secondary
#4837D6
accent
#00E618
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFB6E

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

Preview Lab → · Contrast checker → · Palette generator →

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