#F5F565#F5F565

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

Color values

HEX#F5F565
RGBrgb(245, 245, 101)
HSLhsl(60, 88%, 68%)
HSVhsv(60, 59%, 96%)
CMYKcmyk(0%, 0%, 58.8%, 3.9%)
CIE-LABlab(94.17, -17.67, 67.45)
CIE-LCHlch(94.17, 69.72, 104.68°)
OKLaboklab(94.36% -0.0537 0.1546)
OKLCHoklch(94.36% 0.164 109.2)
XYZxyz(72.6597, 85.6588, 25.0157)
Luminance0.8566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F565 #6565F5
analogous
#F5AD65 #F5F565 #ADF565
triadic
#F5F565 #65F5F5 #F565F5
tetradic
#F5F565 #65F5AD #6565F5 #F565AD
square
#F5F565 #65F5AD #6565F5 #F565AD
split-complementary
#F5F565 #65ADF5 #AD65F5
monochromatic
#D2D20E #F1F12C #F5F565 #F9F99E #FCFCD8

Accessibility & contrast

On white

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

On black

18.13
#F5F565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F565
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F565#FFFFFF#000000##000000
##F5F5651.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC54
Deuteranopia (green-blind)
#FFF16E
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f565;
/* rgb */ color: rgb(245, 245, 101);
/* oklch */ color: oklch(94.4% 0.164 109.2);
Tailwind
colors: {
  custom: {
    50: '#fbf896',
    500: '#f5f565',
    950: '#000000',
  },
}
SCSS
$custom: #f5f565;
$custom-light: #fbf896;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f565",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 101
  },
  "hsl": {
    "h": 60,
    "s": 87.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.94361,
    "c": 0.16363,
    "h": 109.2
  },
  "luminance": 0.85657
}

Semantic roles & 50–950 ramp

primary
#F5F565
secondary
#3131CD
accent
#01E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F565

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

Preview Lab → · Contrast checker → · Palette generator →

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