#ECF566#ECF566

#ECF566 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.7% C 0.165 H 112.5°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#ECF566
RGBrgb(236, 245, 102)
HSLhsl(64, 88%, 68%)
HSVhsv(64, 58%, 96%)
CMYKcmyk(3.7%, 0%, 58.4%, 3.9%)
CIE-LABlab(93.49, -21.19, 66.10)
CIE-LCHlch(93.49, 69.41, 107.77°)
OKLaboklab(93.66% -0.063 0.152)
OKLCHoklch(93.66% 0.165 112.5)
XYZxyz(69.6445, 84.0984, 25.1317)
Luminance0.8410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF566 #6F66F5
analogous
#F5B666 #ECF566 #A4F566
triadic
#ECF566 #66ECF5 #F566EC
tetradic
#ECF566 #66F5B6 #6F66F5 #F566A4
square
#ECF566 #66F5B6 #6F66F5 #F566A4
split-complementary
#ECF566 #66A4F5 #B666F5
monochromatic
#C6D30E #E5F12D #ECF566 #F3F99F #FAFDD9

Accessibility & contrast

On white

1.18
#ECF566 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.82
#ECF566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF566
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF566#FFFFFF#000000##000000
##ECF5661.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFEE6F
Tritanopia (blue-blind)
#FAE8D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf566;
/* rgb */ color: rgb(236, 245, 102);
/* oklch */ color: oklch(93.7% 0.165 112.5);
Tailwind
colors: {
  custom: {
    50: '#f5f897',
    500: '#ecf566',
    950: '#000000',
  },
}
SCSS
$custom: #ecf566;
$custom-light: #f5f897;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf566",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 102
  },
  "hsl": {
    "h": 63.776,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93659,
    "c": 0.16456,
    "h": 112.5
  },
  "luminance": 0.84097
}

Semantic roles & 50–950 ramp

primary
#ECF566
secondary
#3B31CE
accent
#01E40F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF566

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

Preview Lab → · Contrast checker → · Palette generator →

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