#F5F060#F5F060

#F5F060 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.3% C 0.163 H 107.3°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#F5F060
RGBrgb(245, 240, 96)
HSLhsl(58, 88%, 67%)
HSVhsv(58, 61%, 96%)
CMYKcmyk(0%, 2%, 60.8%, 3.9%)
CIE-LABlab(92.83, -15.57, 68.07)
CIE-LCHlch(92.83, 69.83, 102.89°)
OKLaboklab(93.28% -0.0483 0.1552)
OKLCHoklch(93.28% 0.163 107.3)
XYZxyz(70.9299, 82.5794, 23.2671)
Luminance0.8258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F060 #6065F5
analogous
#F5A660 #F5F060 #AFF560
triadic
#F5F060 #60F5F0 #F060F5
tetradic
#F5F060 #60F5A6 #6065F5 #F560AF
square
#F5F060 #60F5A6 #6065F5 #F560AF
split-complementary
#F5F060 #60AFF5 #A660F5
monochromatic
#CEC70D #F1EB26 #F5F060 #F9F59A #FCFBD3

Accessibility & contrast

On white

1.20
#F5F060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#F5F060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F060
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F060#FFFFFF#000000##000000
##F5F0601.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74F
Deuteranopia (green-blind)
#FFED69
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5f060;
/* rgb */ color: rgb(245, 240, 96);
/* oklch */ color: oklch(93.3% 0.163 107.3);
Tailwind
colors: {
  custom: {
    50: '#fcf493',
    500: '#f5f060',
    950: '#000000',
  },
}
SCSS
$custom: #f5f060;
$custom-light: #fcf493;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f060",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 96
  },
  "hsl": {
    "h": 57.987,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93282,
    "c": 0.16255,
    "h": 107.3
  },
  "luminance": 0.82577
}

Semantic roles & 50–950 ramp

primary
#F5F060
secondary
#3035C9
accent
#08E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F060

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

Preview Lab → · Contrast checker → · Palette generator →

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