#F5F965#F5F965

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

Color values

HEX#F5F965
RGBrgb(245, 249, 101)
HSLhsl(62, 93%, 69%)
HSVhsv(62, 59%, 98%)
CMYKcmyk(1.6%, 0%, 59.4%, 2.4%)
CIE-LABlab(95.21, -19.60, 68.58)
CIE-LCHlch(95.21, 71.32, 105.95°)
OKLaboklab(95.19% -0.0592 0.157)
OKLCHoklch(95.19% 0.168 110.7)
XYZxyz(73.8829, 88.1052, 25.4234)
Luminance0.8810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F965 #6965F9
analogous
#F9B365 #F5F965 #ABF965
triadic
#F5F965 #65F5F9 #F965F5
tetradic
#F5F965 #65F9B3 #6965F9 #F965AB
square
#F5F965 #65F9B3 #6965F9 #F965AB
split-complementary
#F5F965 #65ABF9 #B365F9
monochromatic
#D5DB09 #F1F72A #F5F965 #F9FBA0 #FDFEDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F965#FFFFFF#000000##000000
##F5F9651.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)
#FFEF54
Deuteranopia (green-blind)
#FFF36E
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f965;
/* rgb */ color: rgb(245, 249, 101);
/* oklch */ color: oklch(95.2% 0.168 110.7);
Tailwind
colors: {
  custom: {
    50: '#fbfb97',
    500: '#f5f965',
    950: '#000000',
  },
}
SCSS
$custom: #f5f965;
$custom-light: #fbfb97;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f965",
  "rgb": {
    "r": 245,
    "g": 249,
    "b": 101
  },
  "hsl": {
    "h": 61.622,
    "s": 92.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.9519,
    "c": 0.16774,
    "h": 110.7
  },
  "luminance": 0.88103
}

Semantic roles & 50–950 ramp

primary
#F5F965
secondary
#3430D3
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F965

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

Preview Lab → · Contrast checker → · Palette generator →

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