#F8D965#F8D965

#F8D965 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.9% C 0.139 H 94.4°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#F8D965
RGBrgb(248, 217, 101)
HSLhsl(47, 91%, 68%)
HSVhsv(47, 59%, 97%)
CMYKcmyk(0%, 12.5%, 59.3%, 2.7%)
CIE-LABlab(87.25, -2.57, 59.87)
CIE-LCHlch(87.25, 59.92, 92.46°)
OKLaboklab(88.93% -0.0108 0.1383)
OKLCHoklch(88.93% 0.139 94.4)
XYZxyz(65.8760, 70.5250, 22.4522)
Luminance0.7052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D965 #6584F8
analogous
#F88F65 #F8D965 #CDF865
triadic
#F8D965 #65F8D9 #D965F8
tetradic
#F8D965 #65F88F #6584F8 #F865CD
square
#F8D965 #65F88F #6584F8 #F865CD
split-complementary
#F8D965 #65CDF8 #8F65F8
monochromatic
#D9AD0A #F5CB2A #F8D965 #FBE7A0 #FDF6DA

Accessibility & contrast

On white

1.39
#F8D965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.10
#F8D965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D965
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D965#FFFFFF#000000##000000
##F8D9651.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD559
Deuteranopia (green-blind)
#F5DF6A
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d965;
/* rgb */ color: rgb(248, 217, 101);
/* oklch */ color: oklch(88.9% 0.139 94.4);
Tailwind
colors: {
  custom: {
    50: '#fee495',
    500: '#f8d965',
    950: '#000000',
  },
}
SCSS
$custom: #f8d965;
$custom-light: #fee495;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d965",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 101
  },
  "hsl": {
    "h": 47.347,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8893,
    "c": 0.13875,
    "h": 94.4
  },
  "luminance": 0.70522
}

Semantic roles & 50–950 ramp

primary
#F8D965
secondary
#3052D1
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D965

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

Preview Lab → · Contrast checker → · Palette generator →

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