#F5F668#F5F668

#F5F668 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.6% C 0.162 H 109.5°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#F5F668
RGBrgb(245, 246, 104)
HSLhsl(60, 89%, 69%)
HSVhsv(60, 58%, 96%)
CMYKcmyk(0.4%, 0%, 57.7%, 3.5%)
CIE-LABlab(94.45, -17.95, 66.50)
CIE-LCHlch(94.45, 68.89, 105.11°)
OKLaboklab(94.6% -0.0542 0.1529)
OKLCHoklch(94.6% 0.162 109.5)
XYZxyz(73.1127, 86.3254, 25.9051)
Luminance0.8632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F668 #6968F6
analogous
#F6B068 #F5F668 #AEF668
triadic
#F5F668 #68F5F6 #F668F5
tetradic
#F5F668 #68F6B0 #6968F6 #F668AE
square
#F5F668 #68F6B0 #6968F6 #F668AE
split-complementary
#F5F668 #68AEF6 #B068F6
monochromatic
#D5D70D #F1F32E #F5F668 #F9F9A2 #FDFDDC

Accessibility & contrast

On white

1.15
#F5F668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#F5F668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F668
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F668#FFFFFF#000000##000000
##F5F6681.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED58
Deuteranopia (green-blind)
#FFF170
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f668;
/* rgb */ color: rgb(245, 246, 104);
/* oklch */ color: oklch(94.6% 0.162 109.5);
Tailwind
colors: {
  custom: {
    50: '#fbf998',
    500: '#f5f668',
    950: '#000000',
  },
}
SCSS
$custom: #f5f668;
$custom-light: #fbf998;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f668",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 104
  },
  "hsl": {
    "h": 60.423,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94596,
    "c": 0.16226,
    "h": 109.5
  },
  "luminance": 0.86323
}

Semantic roles & 50–950 ramp

primary
#F5F668
secondary
#3433CF
accent
#00E502
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F668

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

Preview Lab → · Contrast checker → · Palette generator →

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