#F5D965#F5D965

#F5D965 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.138 H 95.9°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#F5D965
RGBrgb(245, 217, 101)
HSLhsl(48, 88%, 68%)
HSVhsv(48, 59%, 96%)
CMYKcmyk(0%, 11.4%, 58.8%, 3.9%)
CIE-LABlab(86.99, -3.80, 59.49)
CIE-LCHlch(86.99, 59.61, 93.66°)
OKLaboklab(88.66% -0.0141 0.1376)
OKLCHoklch(88.66% 0.138 95.9)
XYZxyz(64.8207, 69.9808, 22.4027)
Luminance0.6998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D965 #6581F5
analogous
#F59165 #F5D965 #C9F565
triadic
#F5D965 #65F5D9 #D965F5
tetradic
#F5D965 #65F591 #6581F5 #F565C9
square
#F5D965 #65F591 #6581F5 #F565C9
split-complementary
#F5D965 #65C9F5 #9165F5
monochromatic
#D2AC0E #F1CB2C #F5D965 #F9E79E #FCF5D8

Accessibility & contrast

On white

1.40
#F5D965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.00
#F5D965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D965
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D965#FFFFFF#000000##000000
##F5D9651.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD559
Deuteranopia (green-blind)
#F4DE6A
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d965;
/* rgb */ color: rgb(245, 217, 101);
/* oklch */ color: oklch(88.7% 0.138 95.9);
Tailwind
colors: {
  custom: {
    50: '#fbe495',
    500: '#f5d965',
    950: '#000000',
  },
}
SCSS
$custom: #f5d965;
$custom-light: #fbe495;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d965",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 101
  },
  "hsl": {
    "h": 48.333,
    "s": 87.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88657,
    "c": 0.13832,
    "h": 95.9
  },
  "luminance": 0.69978
}

Semantic roles & 50–950 ramp

primary
#F5D965
secondary
#314FCD
accent
#2DE401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D965

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

Preview Lab → · Contrast checker → · Palette generator →

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