#F5EC79#F5EC79

#F5EC79 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.7% C 0.137 H 104.7°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F5EC79
RGBrgb(245, 236, 121)
HSLhsl(56, 86%, 72%)
HSVhsv(56, 51%, 96%)
CMYKcmyk(0%, 3.7%, 50.6%, 3.9%)
CIE-LABlab(92.04, -11.78, 56.22)
CIE-LCHlch(92.04, 57.44, 101.83°)
OKLaboklab(92.73% -0.0348 0.1326)
OKLCHoklch(92.73% 0.137 104.7)
XYZxyz(71.1048, 80.7860, 29.9332)
Luminance0.8078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EC79 #7982F5
analogous
#F5AE79 #F5EC79 #C0F579
triadic
#F5EC79 #79F5EC #EC79F5
tetradic
#F5EC79 #79F5AE #7982F5 #F579C0
square
#F5EC79 #79F5AE #7982F5 #F579C0
split-complementary
#F5EC79 #79C0F5 #AE79F5
monochromatic
#E3D311 #F1E440 #F5EC79 #F9F4B2 #FDFBE3

Accessibility & contrast

On white

1.22
#F5EC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#F5EC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EC79
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EC79#FFFFFF#000000##000000
##F5EC791.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56E
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ec79;
/* rgb */ color: rgb(245, 236, 121);
/* oklch */ color: oklch(92.7% 0.137 104.7);
Tailwind
colors: {
  custom: {
    50: '#fbf1a2',
    500: '#f5ec79',
    950: '#000000',
  },
}
SCSS
$custom: #f5ec79;
$custom-light: #fbf1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ec79",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 121
  },
  "hsl": {
    "h": 55.645,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92727,
    "c": 0.13714,
    "h": 104.7
  },
  "luminance": 0.80784
}

Semantic roles & 50–950 ramp

primary
#F5EC79
secondary
#424CD0
accent
#13E303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EC79

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

Preview Lab → · Contrast checker → · Palette generator →

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