#FFEC71#FFEC71

#FFEC71 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.5% C 0.144 H 100.6°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#FFEC71
RGBrgb(255, 236, 113)
HSLhsl(52, 100%, 72%)
HSVhsv(52, 56%, 100%)
CMYKcmyk(0%, 7.5%, 55.7%, 0%)
CIE-LABlab(92.77, -8.41, 60.93)
CIE-LCHlch(92.77, 61.50, 97.86°)
OKLaboklab(93.48% -0.0266 0.1419)
OKLCHoklch(93.48% 0.144 100.6)
XYZxyz(74.2187, 82.4460, 27.6238)
Luminance0.8244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC71 #7184FF
analogous
#FFA571 #FFEC71 #CBFF71
triadic
#FFEC71 #71FFEC #EC71FF
tetradic
#FFEC71 #71FFA5 #7184FF #FF71CB
square
#FFEC71 #71FFA5 #7184FF #FF71CB
split-complementary
#FFEC71 #71CBFF #A571FF
monochromatic
#F6D500 #FFE434 #FFEC71 #FFF4AE #FFFBE0

Accessibility & contrast

On white

1.20
#FFEC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.49
#FFEC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC71
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC71#FFFFFF#000000##000000
##FFEC711.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE665
Deuteranopia (green-blind)
#FFEE77
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffec71;
/* rgb */ color: rgb(255, 236, 113);
/* oklch */ color: oklch(93.5% 0.144 100.6);
Tailwind
colors: {
  custom: {
    50: '#fff19d',
    500: '#ffec71',
    950: '#000000',
  },
}
SCSS
$custom: #ffec71;
$custom-light: #fff19d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec71",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 51.972,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9348,
    "c": 0.14433,
    "h": 100.6
  },
  "luminance": 0.82443
}

Semantic roles & 50–950 ramp

primary
#FFEC71
secondary
#384EDC
accent
#1FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFEC71

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

Preview Lab → · Contrast checker → · Palette generator →

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