#ECF071#ECF071

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

Color values

HEX#ECF071
RGBrgb(236, 240, 113)
HSLhsl(62, 81%, 69%)
HSVhsv(62, 53%, 94%)
CMYKcmyk(1.7%, 0%, 52.9%, 5.9%)
CIE-LABlab(92.29, -17.95, 59.97)
CIE-LCHlch(92.29, 62.60, 106.67°)
OKLaboklab(92.73% -0.0528 0.1401)
OKLCHoklch(92.73% 0.15 110.6)
XYZxyz(68.7344, 81.3468, 27.7003)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF071 #7571F0
analogous
#F0B571 #ECF071 #ADF071
triadic
#ECF071 #71ECF0 #F071EC
tetradic
#ECF071 #71F0B5 #7571F0 #F071AD
square
#ECF071 #71F0B5 #7571F0 #F071AD
split-complementary
#ECF071 #71ADF0 #B571F0
monochromatic
#CBD116 #E5EA3A #ECF071 #F3F6A8 #FBFCE0

Accessibility & contrast

On white

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

On black

17.27
#ECF071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF071
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF071#FFFFFF#000000##000000
##ECF0711.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#FAE3D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf071;
/* rgb */ color: rgb(236, 240, 113);
/* oklch */ color: oklch(92.7% 0.150 110.6);
Tailwind
colors: {
  custom: {
    50: '#f4f49d',
    500: '#ecf071',
    950: '#000000',
  },
}
SCSS
$custom: #ecf071;
$custom-light: #f4f49d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf071",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 113
  },
  "hsl": {
    "h": 61.89,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92727,
    "c": 0.14975,
    "h": 110.6
  },
  "luminance": 0.81345
}

Semantic roles & 50–950 ramp

primary
#ECF071
secondary
#413CC9
accent
#08DD0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF071

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

Preview Lab → · Contrast checker → · Palette generator →

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