#F5EF79#F5EF79

#F5EF79 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.3% C 0.140 H 106.2°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F5EF79
RGBrgb(245, 239, 121)
HSLhsl(57, 86%, 72%)
HSVhsv(57, 51%, 96%)
CMYKcmyk(0%, 2.4%, 50.6%, 3.9%)
CIE-LABlab(92.81, -13.26, 57.13)
CIE-LCHlch(92.81, 58.65, 103.06°)
OKLaboklab(93.34% -0.0391 0.1346)
OKLCHoklch(93.34% 0.14 106.2)
XYZxyz(71.9758, 82.5280, 30.2235)
Luminance0.8253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF79 #797FF5
analogous
#F5B179 #F5EF79 #BDF579
triadic
#F5EF79 #79F5EF #EF79F5
tetradic
#F5EF79 #79F5B1 #797FF5 #F579BD
square
#F5EF79 #79F5B1 #797FF5 #F579BD
split-complementary
#F5EF79 #79BDF5 #B179F5
monochromatic
#E3D911 #F1E840 #F5EF79 #F9F6B2 #FDFCE3

Accessibility & contrast

On white

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

On black

17.51
#F5EF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF79
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF79#FFFFFF#000000##000000
##F5EF791.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76E
Deuteranopia (green-blind)
#FFED7F
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef79;
/* rgb */ color: rgb(245, 239, 121);
/* oklch */ color: oklch(93.3% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#fbf4a2',
    500: '#f5ef79',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef79;
$custom-light: #fbf4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef79",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 121
  },
  "hsl": {
    "h": 57.097,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.9334,
    "c": 0.14018,
    "h": 106.2
  },
  "luminance": 0.82526
}

Semantic roles & 50–950 ramp

primary
#F5EF79
secondary
#4249D0
accent
#0EE303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5EF79

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

Preview Lab → · Contrast checker → · Palette generator →

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