#F5F868#F5F868

#F5F868 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.0% C 0.164 H 110.3°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#F5F868
RGBrgb(245, 248, 104)
HSLhsl(61, 91%, 69%)
HSVhsv(61, 58%, 97%)
CMYKcmyk(1.2%, 0%, 58.1%, 2.7%)
CIE-LABlab(94.97, -18.92, 67.08)
CIE-LCHlch(94.97, 69.69, 105.75°)
OKLaboklab(95.01% -0.0569 0.1542)
OKLCHoklch(95.01% 0.164 110.3)
XYZxyz(73.7243, 87.5486, 26.1090)
Luminance0.8755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F868 #6B68F8
analogous
#F8B368 #F5F868 #ADF868
triadic
#F5F868 #68F5F8 #F868F5
tetradic
#F5F868 #68F8B3 #6B68F8 #F868AD
square
#F5F868 #68F8B3 #6B68F8 #F868AD
split-complementary
#F5F868 #68ADF8 #B368F8
monochromatic
#D7DB0A #F1F52E #F5F868 #F9FBA2 #FDFDDD

Accessibility & contrast

On white

1.13
#F5F868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#F5F868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F868
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F868#FFFFFF#000000##000000
##F5F8681.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE58
Deuteranopia (green-blind)
#FFF371
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f868;
/* rgb */ color: rgb(245, 248, 104);
/* oklch */ color: oklch(95.0% 0.164 110.3);
Tailwind
colors: {
  custom: {
    50: '#fbfa98',
    500: '#f5f868',
    950: '#000000',
  },
}
SCSS
$custom: #f5f868;
$custom-light: #fbfa98;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f868",
  "rgb": {
    "r": 245,
    "g": 248,
    "b": 104
  },
  "hsl": {
    "h": 61.25,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.9501,
    "c": 0.16433,
    "h": 110.3
  },
  "luminance": 0.87547
}

Semantic roles & 50–950 ramp

primary
#F5F868
secondary
#3632D2
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F868

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

Preview Lab → · Contrast checker → · Palette generator →

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