#ECF371#ECF371

#ECF371 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.4% C 0.153 H 111.8°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#ECF371
RGBrgb(236, 243, 113)
HSLhsl(63, 84%, 70%)
HSVhsv(63, 53%, 95%)
CMYKcmyk(2.9%, 0%, 53.5%, 4.7%)
CIE-LABlab(93.07, -19.41, 60.87)
CIE-LCHlch(93.07, 63.89, 107.68°)
OKLaboklab(93.35% -0.0569 0.1421)
OKLCHoklch(93.35% 0.153 111.8)
XYZxyz(69.6249, 83.1277, 27.9971)
Luminance0.8313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF371 #7871F3
analogous
#F3B971 #ECF371 #ABF371
triadic
#ECF371 #71ECF3 #F371EC
tetradic
#ECF371 #71F3B9 #7871F3 #F371AB
square
#ECF371 #71F3B9 #7871F3 #F371AB
split-complementary
#ECF371 #71ABF3 #B971F3
monochromatic
#CDD712 #E4EE39 #ECF371 #F4F8A9 #FBFDE2

Accessibility & contrast

On white

1.19
#ECF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#ECF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF371
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF371#FFFFFF#000000##000000
##ECF3711.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFED78
Tritanopia (blue-blind)
#FAE6D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf371;
/* rgb */ color: rgb(236, 243, 113);
/* oklch */ color: oklch(93.4% 0.153 111.8);
Tailwind
colors: {
  custom: {
    50: '#f4f69d',
    500: '#ecf371',
    950: '#000000',
  },
}
SCSS
$custom: #ecf371;
$custom-light: #f4f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf371",
  "rgb": {
    "r": 236,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 63.231,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93353,
    "c": 0.15305,
    "h": 111.8
  },
  "luminance": 0.83126
}

Semantic roles & 50–950 ramp

primary
#ECF371
secondary
#433BCD
accent
#05E110
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF371

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

Preview Lab → · Contrast checker → · Palette generator →

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