#F9D861#F9D861

#F9D861 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.8% C 0.141 H 93.8°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#F9D861
RGBrgb(249, 216, 97)
HSLhsl(47, 93%, 68%)
HSVhsv(47, 61%, 98%)
CMYKcmyk(0%, 13.3%, 61%, 2.4%)
CIE-LABlab(87.05, -1.92, 61.44)
CIE-LCHlch(87.05, 61.47, 91.79°)
OKLaboklab(88.78% -0.0094 0.1412)
OKLCHoklch(88.78% 0.141 93.8)
XYZxyz(65.7834, 70.1179, 21.3760)
Luminance0.7012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D861 #6182F9
analogous
#F98C61 #F9D861 #CEF961
triadic
#F9D861 #61F9D8 #D861F9
tetradic
#F9D861 #61F98C #6182F9 #F961CE
square
#F9D861 #61F98C #6182F9 #F961CE
split-complementary
#F9D861 #61CEF9 #8C61F9
monochromatic
#D7AA08 #F7C926 #F9D861 #FBE79C #FDF5D7

Accessibility & contrast

On white

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

On black

15.02
#F9D861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D861
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D861#FFFFFF#000000##000000
##F9D8611.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD454
Deuteranopia (green-blind)
#F5DE66
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d861;
/* rgb */ color: rgb(249, 216, 97);
/* oklch */ color: oklch(88.8% 0.141 93.8);
Tailwind
colors: {
  custom: {
    50: '#ffe392',
    500: '#f9d861',
    950: '#000000',
  },
}
SCSS
$custom: #f9d861;
$custom-light: #ffe392;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d861",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 46.974,
    "s": 92.683,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88782,
    "c": 0.14148,
    "h": 93.8
  },
  "luminance": 0.70115
}

Semantic roles & 50–950 ramp

primary
#F9D861
secondary
#2D50D2
accent
#32E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D861

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

Preview Lab → · Contrast checker → · Palette generator →

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