#F5F168#F5F168

#F5F168 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.6% C 0.157 H 107.5°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#F5F168
RGBrgb(245, 241, 104)
HSLhsl(58, 88%, 68%)
HSVhsv(58, 58%, 96%)
CMYKcmyk(0%, 1.6%, 57.6%, 3.9%)
CIE-LABlab(93.16, -15.53, 65.07)
CIE-LCHlch(93.16, 66.90, 103.42°)
OKLaboklab(93.56% -0.0473 0.1499)
OKLCHoklch(93.56% 0.157 107.5)
XYZxyz(71.6124, 83.3247, 25.4050)
Luminance0.8332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F168 #686CF5
analogous
#F5AA68 #F5F168 #B2F568
triadic
#F5F168 #68F5F1 #F168F5
tetradic
#F5F168 #68F5AA #686CF5 #F568B2
square
#F5F168 #68F5AA #686CF5 #F568B2
split-complementary
#F5F168 #68B2F5 #AA68F5
monochromatic
#D5CF0E #F1EC2F #F5F168 #F9F6A1 #FDFCDB

Accessibility & contrast

On white

1.19
#F5F168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#F5F168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F168
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F168#FFFFFF#000000##000000
##F5F1681.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE859
Deuteranopia (green-blind)
#FFEE70
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f168;
/* rgb */ color: rgb(245, 241, 104);
/* oklch */ color: oklch(93.6% 0.157 107.5);
Tailwind
colors: {
  custom: {
    50: '#fbf598',
    500: '#f5f168',
    950: '#000000',
  },
}
SCSS
$custom: #f5f168;
$custom-light: #fbf598;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f168",
  "rgb": {
    "r": 245,
    "g": 241,
    "b": 104
  },
  "hsl": {
    "h": 58.298,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93564,
    "c": 0.15718,
    "h": 107.5
  },
  "luminance": 0.83323
}

Semantic roles & 50–950 ramp

primary
#F5F168
secondary
#3338CE
accent
#08E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F168

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

Preview Lab → · Contrast checker → · Palette generator →

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