#ECF06A#ECF06A

#ECF06A is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.7% C 0.156 H 110.7°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#ECF06A
RGBrgb(236, 240, 106)
HSLhsl(62, 82%, 68%)
HSVhsv(62, 56%, 94%)
CMYKcmyk(1.7%, 0%, 55.8%, 5.9%)
CIE-LABlab(92.22, -18.49, 62.98)
CIE-LCHlch(92.22, 65.63, 106.36°)
OKLaboklab(92.65% -0.055 0.1458)
OKLCHoklch(92.65% 0.156 110.7)
XYZxyz(68.3554, 81.1952, 25.7043)
Luminance0.8119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF06A #6E6AF0
analogous
#F0B16A #ECF06A #A9F06A
triadic
#ECF06A #6AECF0 #F06AEC
tetradic
#ECF06A #6AF0B1 #6E6AF0 #F06AA9
square
#ECF06A #6AF0B1 #6E6AF0 #F06AA9
split-complementary
#ECF06A #6AA9F0 #B16AF0
monochromatic
#C6CB14 #E5EA32 #ECF06A #F3F6A2 #FAFBD9

Accessibility & contrast

On white

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

On black

17.24
#ECF06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF06A
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF06A#FFFFFF#000000##000000
##ECF06A1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75C
Deuteranopia (green-blind)
#FFEB72
Tritanopia (blue-blind)
#FBE3D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf06a;
/* rgb */ color: rgb(236, 240, 106);
/* oklch */ color: oklch(92.7% 0.156 110.7);
Tailwind
colors: {
  custom: {
    50: '#f5f499',
    500: '#ecf06a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf06a;
$custom-light: #f5f499;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf06a",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 106
  },
  "hsl": {
    "h": 61.791,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92652,
    "c": 0.15586,
    "h": 110.7
  },
  "luminance": 0.81194
}

Semantic roles & 50–950 ramp

primary
#ECF06A
secondary
#3B36C8
accent
#07DE0E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF06A

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

Preview Lab → · Contrast checker → · Palette generator →

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