#ECFB6D#ECFB6D

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

Color values

HEX#ECFB6D
RGBrgb(236, 251, 109)
HSLhsl(66, 95%, 71%)
HSVhsv(66, 57%, 98%)
CMYKcmyk(6%, 0%, 56.6%, 1.6%)
CIE-LABlab(95.13, -23.54, 64.95)
CIE-LCHlch(95.13, 69.09, 109.92°)
OKLaboklab(94.99% -0.069 0.1504)
OKLCHoklch(94.99% 0.165 114.6)
XYZxyz(71.8510, 87.9325, 27.6526)
Luminance0.8793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB6D #7C6DFB
analogous
#FBC36D #ECFB6D #A5FB6D
triadic
#ECFB6D #6DECFB #FB6DEC
tetradic
#ECFB6D #6DFBC3 #7C6DFB #FB6DA5
square
#ECFB6D #6DFBC3 #7C6DFB #FB6DA5
split-complementary
#ECFB6D #6DA5FB #C36DFB
monochromatic
#D0E706 #E4F931 #ECFB6D #F4FDA9 #FBFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFB6D#FFFFFF#000000##000000
##ECFB6D1.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)
#FFF05E
Deuteranopia (green-blind)
#FFF276
Tritanopia (blue-blind)
#FAEEDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb6d;
/* rgb */ color: rgb(236, 251, 109);
/* oklch */ color: oklch(95.0% 0.165 114.6);
Tailwind
colors: {
  custom: {
    50: '#f5fc9b',
    500: '#ecfb6d',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb6d;
$custom-light: #f5fc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb6d",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 109
  },
  "hsl": {
    "h": 66.338,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9499,
    "c": 0.16545,
    "h": 114.6
  },
  "luminance": 0.87931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFB6D

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

Preview Lab → · Contrast checker → · Palette generator →

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