#F9D85F#F9D85F

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

Color values

HEX#F9D85F
RGBrgb(249, 216, 95)
HSLhsl(47, 93%, 67%)
HSVhsv(47, 62%, 98%)
CMYKcmyk(0%, 13.3%, 61.8%, 2.4%)
CIE-LABlab(87.04, -2.05, 62.30)
CIE-LCHlch(87.04, 62.33, 91.89°)
OKLaboklab(88.76% -0.01 0.1427)
OKLCHoklch(88.76% 0.143 94)
XYZxyz(65.6913, 70.0810, 20.8911)
Luminance0.7008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D85F #5F80F9
analogous
#F98B5F #F9D85F #CDF95F
triadic
#F9D85F #5FF9D8 #D85FF9
tetradic
#F9D85F #5FF98B #5F80F9 #F95FCD
square
#F9D85F #5FF98B #5F80F9 #F95FCD
split-complementary
#F9D85F #5FCDF9 #8B5FF9
monochromatic
#D6AA08 #F7CA24 #F9D85F #FBE69A #FDF5D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9D85F#FFFFFF#000000##000000
##F9D85F1.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)
#EDD452
Deuteranopia (green-blind)
#F5DE65
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d85f;
/* rgb */ color: rgb(249, 216, 95);
/* oklch */ color: oklch(88.8% 0.143 94.0);
Tailwind
colors: {
  custom: {
    50: '#ffe391',
    500: '#f9d85f',
    950: '#000000',
  },
}
SCSS
$custom: #f9d85f;
$custom-light: #ffe391;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d85f",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 47.143,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88762,
    "c": 0.14307,
    "h": 94
  },
  "luminance": 0.70078
}

Semantic roles & 50–950 ramp

primary
#F9D85F
secondary
#2C4FD0
accent
#31E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D85F

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

Preview Lab → · Contrast checker → · Palette generator →

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