#F9D865#F9D865

#F9D865 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.138 H 93.4°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#F9D865
RGBrgb(249, 216, 101)
HSLhsl(47, 93%, 69%)
HSVhsv(47, 59%, 98%)
CMYKcmyk(0%, 13.3%, 59.4%, 2.4%)
CIE-LABlab(87.09, -1.66, 59.71)
CIE-LCHlch(87.09, 59.73, 91.59°)
OKLaboklab(88.82% -0.0082 0.138)
OKLCHoklch(88.82% 0.138 93.4)
XYZxyz(65.9746, 70.1944, 22.3832)
Luminance0.7019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D865 #6586F9
analogous
#F98E65 #F9D865 #D0F965
triadic
#F9D865 #65F9D8 #D865F9
tetradic
#F9D865 #65F98E #6586F9 #F965D0
square
#F9D865 #65F98E #6586F9 #F965D0
split-complementary
#F9D865 #65D0F9 #8E65F9
monochromatic
#DBAC09 #F7C92A #F9D865 #FBE7A0 #FEF6DB

Accessibility & contrast

On white

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

On black

15.04
#F9D865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D865
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D865#FFFFFF#000000##000000
##F9D8651.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9d865;
/* rgb */ color: rgb(249, 216, 101);
/* oklch */ color: oklch(88.8% 0.138 93.4);
Tailwind
colors: {
  custom: {
    50: '#fee395',
    500: '#f9d865',
    950: '#000000',
  },
}
SCSS
$custom: #f9d865;
$custom-light: #fee395;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d865",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 101
  },
  "hsl": {
    "h": 46.622,
    "s": 92.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88824,
    "c": 0.13821,
    "h": 93.4
  },
  "luminance": 0.70191
}

Semantic roles & 50–950 ramp

primary
#F9D865
secondary
#3054D3
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D865

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

Preview Lab → · Contrast checker → · Palette generator →

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