#F5F679#F5F679

#F5F679 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.8% C 0.148 H 109.3°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#F5F679
RGBrgb(245, 246, 121)
HSLhsl(60, 87%, 72%)
HSVhsv(60, 51%, 96%)
CMYKcmyk(0.4%, 0%, 50.8%, 3.5%)
CIE-LABlab(94.61, -16.67, 59.25)
CIE-LCHlch(94.61, 61.56, 105.72°)
OKLaboklab(94.78% -0.0488 0.1392)
OKLCHoklch(94.78% 0.148 109.3)
XYZxyz(74.0649, 86.7063, 30.9199)
Luminance0.8670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F679 #7A79F6
analogous
#F6B979 #F5F679 #B7F679
triadic
#F5F679 #79F5F6 #F679F5
tetradic
#F5F679 #79F6B9 #7A79F6 #F679B7
square
#F5F679 #79F6B9 #7A79F6 #F679B7
split-complementary
#F5F679 #79B7F6 #B979F6
monochromatic
#E3E50F #F1F240 #F5F679 #F9FAB2 #FDFDE2

Accessibility & contrast

On white

1.14
#F5F679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#F5F679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F679
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F679#FFFFFF#000000##000000
##F5F6791.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6D
Deuteranopia (green-blind)
#FFF27F
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f679;
/* rgb */ color: rgb(245, 246, 121);
/* oklch */ color: oklch(94.8% 0.148 109.3);
Tailwind
colors: {
  custom: {
    50: '#fbf9a3',
    500: '#f5f679',
    950: '#000000',
  },
}
SCSS
$custom: #f5f679;
$custom-light: #fbf9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f679",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 121
  },
  "hsl": {
    "h": 60.48,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94778,
    "c": 0.14754,
    "h": 109.3
  },
  "luminance": 0.86704
}

Semantic roles & 50–950 ramp

primary
#F5F679
secondary
#4342D1
accent
#02E403
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F679

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

Preview Lab → · Contrast checker → · Palette generator →

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