#ECFB6A#ECFB6A

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

Color values

HEX#ECFB6A
RGBrgb(236, 251, 106)
HSLhsl(66, 95%, 70%)
HSVhsv(66, 58%, 98%)
CMYKcmyk(6%, 0%, 57.8%, 1.6%)
CIE-LABlab(95.11, -23.76, 66.20)
CIE-LCHlch(95.11, 70.33, 109.75°)
OKLaboklab(94.96% -0.0699 0.1527)
OKLCHoklch(94.96% 0.168 114.6)
XYZxyz(71.6923, 87.8690, 26.8166)
Luminance0.8787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB6A #796AFB
analogous
#FBC26A #ECFB6A #A3FB6A
triadic
#ECFB6A #6AECFB #FB6AEC
tetradic
#ECFB6A #6AFBC2 #796AFB #FB6AA3
square
#ECFB6A #6AFBC2 #796AFB #FB6AA3
split-complementary
#ECFB6A #6AA3FB #C26AFB
monochromatic
#CDE406 #E4F92E #ECFB6A #F4FDA6 #FBFEE1

Accessibility & contrast

On white

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

On black

18.57
#ECFB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB6A
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB6A#FFFFFF#000000##000000
##ECFB6A1.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfb6a;
/* rgb */ color: rgb(236, 251, 106);
/* oklch */ color: oklch(95.0% 0.168 114.6);
Tailwind
colors: {
  custom: {
    50: '#f5fc9a',
    500: '#ecfb6a',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb6a;
$custom-light: #f5fc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb6a",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 106
  },
  "hsl": {
    "h": 66.207,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.9496,
    "c": 0.16793,
    "h": 114.6
  },
  "luminance": 0.87868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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