#F5F568#F5F568

#F5F568 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.4% C 0.161 H 109.1°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#F5F568
RGBrgb(245, 245, 104)
HSLhsl(60, 88%, 68%)
HSVhsv(60, 58%, 96%)
CMYKcmyk(0%, 0%, 57.6%, 3.9%)
CIE-LABlab(94.19, -17.47, 66.22)
CIE-LCHlch(94.19, 68.48, 104.78°)
OKLaboklab(94.39% -0.0528 0.1523)
OKLCHoklch(94.39% 0.161 109.1)
XYZxyz(72.8094, 85.7187, 25.8040)
Luminance0.8572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F568 #6868F5
analogous
#F5AE68 #F5F568 #AEF568
triadic
#F5F568 #68F5F5 #F568F5
tetradic
#F5F568 #68F5AE #6868F5 #F568AE
square
#F5F568 #68F5AE #6868F5 #F568AE
split-complementary
#F5F568 #68AEF5 #AE68F5
monochromatic
#D5D50E #F1F12F #F5F568 #F9F9A1 #FDFDDB

Accessibility & contrast

On white

1.16
#F5F568 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#F5F568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F568
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F568#FFFFFF#000000##000000
##F5F5681.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC58
Deuteranopia (green-blind)
#FFF170
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f568;
/* rgb */ color: rgb(245, 245, 104);
/* oklch */ color: oklch(94.4% 0.161 109.1);
Tailwind
colors: {
  custom: {
    50: '#fbf898',
    500: '#f5f568',
    950: '#000000',
  },
}
SCSS
$custom: #f5f568;
$custom-light: #fbf898;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f568",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 104
  },
  "hsl": {
    "h": 60,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94389,
    "c": 0.16123,
    "h": 109.1
  },
  "luminance": 0.85717
}

Semantic roles & 50–950 ramp

primary
#F5F568
secondary
#3333CE
accent
#01E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F568

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

Preview Lab → · Contrast checker → · Palette generator →

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