#ECF66B#ECF66B

#ECF66B is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 93.9% C 0.162 H 112.9°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#ECF66B
RGBrgb(236, 246, 107)
HSLhsl(64, 89%, 69%)
HSVhsv(64, 57%, 96%)
CMYKcmyk(4.1%, 0%, 56.5%, 3.5%)
CIE-LABlab(93.80, -21.31, 64.32)
CIE-LCHlch(93.80, 67.75, 108.33°)
OKLaboklab(93.92% -0.0629 0.1488)
OKLCHoklch(93.92% 0.162 112.9)
XYZxyz(70.2033, 84.8073, 26.5783)
Luminance0.8481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF66B #756BF6
analogous
#F6BB6B #ECF66B #A6F66B
triadic
#ECF66B #6BECF6 #F66BEC
tetradic
#ECF66B #6BF6BB #756BF6 #F66BA6
square
#ECF66B #6BF6BB #756BF6 #F66BA6
split-complementary
#ECF66B #6BA6F6 #BB6BF6
monochromatic
#CBD90D #E5F231 #ECF66B #F3FAA5 #FBFDDE

Accessibility & contrast

On white

1.17
#ECF66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#ECF66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF66B
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF66B#FFFFFF#000000##000000
##ECF66B1.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5C
Deuteranopia (green-blind)
#FFEF73
Tritanopia (blue-blind)
#FAE9D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf66b;
/* rgb */ color: rgb(236, 246, 107);
/* oklch */ color: oklch(93.9% 0.162 112.9);
Tailwind
colors: {
  custom: {
    50: '#f5f99a',
    500: '#ecf66b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf66b;
$custom-light: #f5f99a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf66b",
  "rgb": {
    "r": 236,
    "g": 246,
    "b": 107
  },
  "hsl": {
    "h": 64.317,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93918,
    "c": 0.16154,
    "h": 112.9
  },
  "luminance": 0.84806
}

Semantic roles & 50–950 ramp

primary
#ECF66B
secondary
#4136D0
accent
#00E511
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF66B

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

Preview Lab → · Contrast checker → · Palette generator →

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