#F5EC73#F5EC73

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

Color values

HEX#F5EC73
RGBrgb(245, 236, 115)
HSLhsl(56, 87%, 71%)
HSVhsv(56, 53%, 96%)
CMYKcmyk(0%, 3.7%, 53.1%, 3.9%)
CIE-LABlab(91.97, -12.26, 58.89)
CIE-LCHlch(91.97, 60.16, 101.76°)
OKLaboklab(92.66% -0.0369 0.1379)
OKLCHoklch(92.66% 0.143 105)
XYZxyz(70.7482, 80.6434, 28.0553)
Luminance0.8064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EC73 #737CF5
analogous
#F5AB73 #F5EC73 #BDF573
triadic
#F5EC73 #73F5EC #EC73F5
tetradic
#F5EC73 #73F5AB #737CF5 #F573BD
square
#F5EC73 #73F5AB #737CF5 #F573BD
split-complementary
#F5EC73 #73BDF5 #AB73F5
monochromatic
#DED010 #F1E43A #F5EC73 #F9F4AC #FDFBE2

Accessibility & contrast

On white

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

On black

17.13
#F5EC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EC73
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EC73#FFFFFF#000000##000000
##F5EC731.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE567
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ec73;
/* rgb */ color: rgb(245, 236, 115);
/* oklch */ color: oklch(92.7% 0.143 105.0);
Tailwind
colors: {
  custom: {
    50: '#fbf19e',
    500: '#f5ec73',
    950: '#000000',
  },
}
SCSS
$custom: #f5ec73;
$custom-light: #fbf19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ec73",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 115
  },
  "hsl": {
    "h": 55.846,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92656,
    "c": 0.1427,
    "h": 105
  },
  "luminance": 0.80641
}

Semantic roles & 50–950 ramp

primary
#F5EC73
secondary
#3D47CF
accent
#12E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EC73

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

Preview Lab → · Contrast checker → · Palette generator →

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