#ECF056#ECF056

#ECF056 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.5% C 0.171 H 110.8°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#ECF056
RGBrgb(236, 240, 86)
HSLhsl(62, 84%, 64%)
HSVhsv(62, 64%, 94%)
CMYKcmyk(1.7%, 0%, 64.2%, 5.9%)
CIE-LABlab(92.05, -19.80, 71.02)
CIE-LCHlch(92.05, 73.73, 105.58°)
OKLaboklab(92.47% -0.0607 0.1603)
OKLCHoklch(92.47% 0.171 110.8)
XYZxyz(67.4339, 80.8266, 20.8512)
Luminance0.8083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF056 #5A56F0
analogous
#F0A756 #ECF056 #9FF056
triadic
#ECF056 #56ECF0 #F056EC
tetradic
#ECF056 #56F0A7 #5A56F0 #F0569F
square
#ECF056 #56F0A7 #5A56F0 #F0569F
split-complementary
#ECF056 #569FF0 #A756F0
monochromatic
#B7BB11 #E6EB1E #ECF056 #F2F58E #F9FAC6

Accessibility & contrast

On white

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

On black

17.17
#ECF056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF056
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF056#FFFFFF#000000##000000
##ECF0561.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE641
Deuteranopia (green-blind)
#FFEA60
Tritanopia (blue-blind)
#FCE2D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ecf056;
/* rgb */ color: rgb(236, 240, 86);
/* oklch */ color: oklch(92.5% 0.171 110.8);
Tailwind
colors: {
  custom: {
    50: '#f5f48d',
    500: '#ecf056',
    950: '#000000',
  },
}
SCSS
$custom: #ecf056;
$custom-light: #f5f48d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf056",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 86
  },
  "hsl": {
    "h": 61.558,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.92468,
    "c": 0.17138,
    "h": 110.8
  },
  "luminance": 0.80825
}

Semantic roles & 50–950 ramp

primary
#ECF056
secondary
#3430BA
accent
#05E00B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF056

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

Preview Lab → · Contrast checker → · Palette generator →

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