#F5F964#F5F964

#F5F964 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.2% C 0.169 H 110.7°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#F5F964
RGBrgb(245, 249, 100)
HSLhsl(62, 93%, 68%)
HSVhsv(62, 60%, 98%)
CMYKcmyk(1.6%, 0%, 59.8%, 2.4%)
CIE-LABlab(95.20, -19.67, 68.98)
CIE-LCHlch(95.20, 71.73, 105.91°)
OKLaboklab(95.18% -0.0594 0.1577)
OKLCHoklch(95.18% 0.169 110.7)
XYZxyz(73.8342, 88.0858, 25.1670)
Luminance0.8808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F964 #6864F9
analogous
#F9B264 #F5F964 #AAF964
triadic
#F5F964 #64F5F9 #F964F5
tetradic
#F5F964 #64F9B2 #6864F9 #F964AA
square
#F5F964 #64F9B2 #6864F9 #F964AA
split-complementary
#F5F964 #64AAF9 #B264F9
monochromatic
#D5DA08 #F1F729 #F5F964 #F9FB9F #FDFEDA

Accessibility & contrast

On white

1.13
#F5F964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.62
#F5F964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F964
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F964#FFFFFF#000000##000000
##F5F9641.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF52
Deuteranopia (green-blind)
#FFF36D
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f964;
/* rgb */ color: rgb(245, 249, 100);
/* oklch */ color: oklch(95.2% 0.169 110.7);
Tailwind
colors: {
  custom: {
    50: '#fbfb96',
    500: '#f5f964',
    950: '#000000',
  },
}
SCSS
$custom: #f5f964;
$custom-light: #fbfb96;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f964",
  "rgb": {
    "r": 245,
    "g": 249,
    "b": 100
  },
  "hsl": {
    "h": 61.611,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95181,
    "c": 0.16851,
    "h": 110.7
  },
  "luminance": 0.88084
}

Semantic roles & 50–950 ramp

primary
#F5F964
secondary
#332FD2
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F964

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

Preview Lab → · Contrast checker → · Palette generator →

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