#F5D865#F5D865

#F5D865 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.5% C 0.138 H 95.3°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#F5D865
RGBrgb(245, 216, 101)
HSLhsl(48, 88%, 68%)
HSVhsv(48, 59%, 96%)
CMYKcmyk(0%, 11.8%, 58.8%, 3.9%)
CIE-LABlab(86.73, -3.29, 59.21)
CIE-LCHlch(86.73, 59.30, 93.18°)
OKLaboklab(88.46% -0.0126 0.137)
OKLCHoklch(88.46% 0.138 95.3)
XYZxyz(64.5637, 69.4668, 22.3170)
Luminance0.6946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D865 #6582F5
analogous
#F59065 #F5D865 #CAF565
triadic
#F5D865 #65F5D8 #D865F5
tetradic
#F5D865 #65F590 #6582F5 #F565CA
square
#F5D865 #65F590 #6582F5 #F565CA
split-complementary
#F5D865 #65CAF5 #9065F5
monochromatic
#D2AA0E #F1C92C #F5D865 #F9E79E #FCF5D8

Accessibility & contrast

On white

1.41
#F5D865 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#F5D865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D865
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D865#FFFFFF#000000##000000
##F5D8651.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD459
Deuteranopia (green-blind)
#F3DD6A
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d865;
/* rgb */ color: rgb(245, 216, 101);
/* oklch */ color: oklch(88.5% 0.138 95.3);
Tailwind
colors: {
  custom: {
    50: '#fbe395',
    500: '#f5d865',
    950: '#000000',
  },
}
SCSS
$custom: #f5d865;
$custom-light: #fbe395;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d865",
  "rgb": {
    "r": 245,
    "g": 216,
    "b": 101
  },
  "hsl": {
    "h": 47.917,
    "s": 87.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88457,
    "c": 0.13757,
    "h": 95.3
  },
  "luminance": 0.69464
}

Semantic roles & 50–950 ramp

primary
#F5D865
secondary
#3150CD
accent
#2FE401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D865

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

Preview Lab → · Contrast checker → · Palette generator →

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