#F5EC74#F5EC74

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

Color values

HEX#F5EC74
RGBrgb(245, 236, 116)
HSLhsl(56, 87%, 71%)
HSVhsv(56, 53%, 96%)
CMYKcmyk(0%, 3.7%, 52.7%, 3.9%)
CIE-LABlab(91.98, -12.18, 58.45)
CIE-LCHlch(91.98, 59.71, 101.77°)
OKLaboklab(92.67% -0.0365 0.137)
OKLCHoklch(92.67% 0.142 104.9)
XYZxyz(70.8061, 80.6665, 28.3600)
Luminance0.8066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EC74 #747DF5
analogous
#F5AB74 #F5EC74 #BDF574
triadic
#F5EC74 #74F5EC #EC74F5
tetradic
#F5EC74 #74F5AB #747DF5 #F574BD
square
#F5EC74 #74F5AB #747DF5 #F574BD
split-complementary
#F5EC74 #74BDF5 #AB74F5
monochromatic
#DFD010 #F1E43B #F5EC74 #F9F4AD #FDFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5EC74#FFFFFF#000000##000000
##F5EC741.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)
#FDE568
Deuteranopia (green-blind)
#FFEB7A
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ec74;
/* rgb */ color: rgb(245, 236, 116);
/* oklch */ color: oklch(92.7% 0.142 104.9);
Tailwind
colors: {
  custom: {
    50: '#fbf19f',
    500: '#f5ec74',
    950: '#000000',
  },
}
SCSS
$custom: #f5ec74;
$custom-light: #fbf19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ec74",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 55.814,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92667,
    "c": 0.1418,
    "h": 104.9
  },
  "luminance": 0.80664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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