#F9D867#F9D867

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

Color values

HEX#F9D867
RGBrgb(249, 216, 103)
HSLhsl(46, 92%, 69%)
HSVhsv(46, 59%, 98%)
CMYKcmyk(0%, 13.3%, 58.6%, 2.4%)
CIE-LABlab(87.11, -1.52, 58.83)
CIE-LCHlch(87.11, 58.85, 91.48°)
OKLaboklab(88.85% -0.0075 0.1363)
OKLCHoklch(88.85% 0.137 93.2)
XYZxyz(66.0738, 70.2340, 22.9055)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D867 #6788F9
analogous
#F98F67 #F9D867 #D1F967
triadic
#F9D867 #67F9D8 #D867F9
tetradic
#F9D867 #67F98F #6788F9 #F967D1
square
#F9D867 #67F98F #6788F9 #F967D1
split-complementary
#F9D867 #67D1F9 #8F67F9
monochromatic
#DDAD09 #F7C92C #F9D867 #FBE7A2 #FEF6DD

Accessibility & contrast

On white

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

On black

15.05
#F9D867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D867
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D867#FFFFFF#000000##000000
##F9D8671.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9d867;
/* rgb */ color: rgb(249, 216, 103);
/* oklch */ color: oklch(88.8% 0.137 93.2);
Tailwind
colors: {
  custom: {
    50: '#fee396',
    500: '#f9d867',
    950: '#000000',
  },
}
SCSS
$custom: #f9d867;
$custom-light: #fee396;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d867",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 103
  },
  "hsl": {
    "h": 46.438,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88845,
    "c": 0.13654,
    "h": 93.2
  },
  "luminance": 0.70231
}

Semantic roles & 50–950 ramp

primary
#F9D867
secondary
#3156D3
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D867

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

Preview Lab → · Contrast checker → · Palette generator →

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