#F5EC71#F5EC71

#F5EC71 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.6% C 0.144 H 105.0°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#F5EC71
RGBrgb(245, 236, 113)
HSLhsl(56, 87%, 70%)
HSVhsv(56, 54%, 96%)
CMYKcmyk(0%, 3.7%, 53.9%, 3.9%)
CIE-LABlab(91.95, -12.42, 59.77)
CIE-LCHlch(91.95, 61.05, 101.74°)
OKLaboklab(92.63% -0.0375 0.1396)
OKLCHoklch(92.63% 0.145 105)
XYZxyz(70.6344, 80.5979, 27.4558)
Luminance0.8060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EC71 #717AF5
analogous
#F5AA71 #F5EC71 #BCF571
triadic
#F5EC71 #71F5EC #EC71F5
tetradic
#F5EC71 #71F5AA #717AF5 #F571BC
square
#F5EC71 #71F5AA #717AF5 #F571BC
split-complementary
#F5EC71 #71BCF5 #AA71F5
monochromatic
#DCCE10 #F1E438 #F5EC71 #F9F4AA #FDFBE2

Accessibility & contrast

On white

1.23
#F5EC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#F5EC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EC71
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EC71#FFFFFF#000000##000000
##F5EC711.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE565
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ec71;
/* rgb */ color: rgb(245, 236, 113);
/* oklch */ color: oklch(92.6% 0.144 105.0);
Tailwind
colors: {
  custom: {
    50: '#fbf19d',
    500: '#f5ec71',
    950: '#000000',
  },
}
SCSS
$custom: #f5ec71;
$custom-light: #fbf19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ec71",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 55.909,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92633,
    "c": 0.1445,
    "h": 105
  },
  "luminance": 0.80596
}

Semantic roles & 50–950 ramp

primary
#F5EC71
secondary
#3B45CF
accent
#11E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EC71

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

Preview Lab → · Contrast checker → · Palette generator →

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