#F5F167#F5F167

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

Color values

HEX#F5F167
RGBrgb(245, 241, 103)
HSLhsl(58, 88%, 68%)
HSVhsv(58, 58%, 96%)
CMYKcmyk(0%, 1.6%, 58%, 3.9%)
CIE-LABlab(93.15, -15.60, 65.49)
CIE-LCHlch(93.15, 67.32, 103.40°)
OKLaboklab(93.55% -0.0476 0.1507)
OKLCHoklch(93.55% 0.158 107.5)
XYZxyz(71.5619, 83.3045, 25.1391)
Luminance0.8330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F167 #676BF5
analogous
#F5AA67 #F5F167 #B2F567
triadic
#F5F167 #67F5F1 #F167F5
tetradic
#F5F167 #67F5AA #676BF5 #F567B2
square
#F5F167 #67F5AA #676BF5 #F567B2
split-complementary
#F5F167 #67B2F5 #AA67F5
monochromatic
#D4CE0E #F1EC2E #F5F167 #F9F6A0 #FDFCDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F167#FFFFFF#000000##000000
##F5F1671.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)
#FFE858
Deuteranopia (green-blind)
#FFEE6F
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f167;
/* rgb */ color: rgb(245, 241, 103);
/* oklch */ color: oklch(93.6% 0.158 107.5);
Tailwind
colors: {
  custom: {
    50: '#fbf597',
    500: '#f5f167',
    950: '#000000',
  },
}
SCSS
$custom: #f5f167;
$custom-light: #fbf597;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f167",
  "rgb": {
    "r": 245,
    "g": 241,
    "b": 103
  },
  "hsl": {
    "h": 58.31,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.93554,
    "c": 0.158,
    "h": 107.5
  },
  "luminance": 0.83302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F167

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

Preview Lab → · Contrast checker → · Palette generator →

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