#ECF06F#ECF06F

#ECF06F is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.7% C 0.152 H 110.6°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#ECF06F
RGBrgb(236, 240, 111)
HSLhsl(62, 81%, 69%)
HSVhsv(62, 54%, 94%)
CMYKcmyk(1.7%, 0%, 53.8%, 5.9%)
CIE-LABlab(92.27, -18.11, 60.84)
CIE-LCHlch(92.27, 63.48, 106.58°)
OKLaboklab(92.71% -0.0534 0.1418)
OKLCHoklch(92.71% 0.152 110.6)
XYZxyz(68.6231, 81.3023, 27.1138)
Luminance0.8130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF06F #736FF0
analogous
#F0B46F #ECF06F #ACF06F
triadic
#ECF06F #6FECF0 #F06FEC
tetradic
#ECF06F #6FF0B4 #736FF0 #F06FAC
square
#ECF06F #6FF0B4 #736FF0 #F06FAC
split-complementary
#ECF06F #6FACF0 #B46FF0
monochromatic
#C9CF16 #E5EA38 #ECF06F #F3F6A6 #FBFCDE

Accessibility & contrast

On white

1.22
#ECF06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#ECF06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF06F
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF06F#FFFFFF#000000##000000
##ECF06F1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE762
Deuteranopia (green-blind)
#FFEB76
Tritanopia (blue-blind)
#FAE3D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf06f;
/* rgb */ color: rgb(236, 240, 111);
/* oklch */ color: oklch(92.7% 0.152 110.6);
Tailwind
colors: {
  custom: {
    50: '#f5f49c',
    500: '#ecf06f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf06f;
$custom-light: #f5f49c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf06f",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 61.86,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92705,
    "c": 0.15153,
    "h": 110.6
  },
  "luminance": 0.81301
}

Semantic roles & 50–950 ramp

primary
#ECF06F
secondary
#3F3AC9
accent
#08DD0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF06F

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

Preview Lab → · Contrast checker → · Palette generator →

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