#F9D85B#F9D85B

#F9D85B is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.146 H 94.4°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#F9D85B
RGBrgb(249, 216, 91)
HSLhsl(47, 93%, 67%)
HSVhsv(47, 63%, 98%)
CMYKcmyk(0%, 13.3%, 63.5%, 2.4%)
CIE-LABlab(87.00, -2.30, 63.98)
CIE-LCHlch(87.00, 64.02, 92.06°)
OKLaboklab(88.72% -0.0112 0.1458)
OKLCHoklch(88.72% 0.146 94.4)
XYZxyz(65.5142, 70.0102, 19.9580)
Luminance0.7001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D85B #5B7CF9
analogous
#F9895B #F9D85B #CBF95B
triadic
#F9D85B #5BF9D8 #D85BF9
tetradic
#F9D85B #5BF989 #5B7CF9 #F95BCB
square
#F9D85B #5BF989 #5B7CF9 #F95BCB
split-complementary
#F9D85B #5BCBF9 #895BF9
monochromatic
#D2A808 #F7CA20 #F9D85B #FBE696 #FDF4D1

Accessibility & contrast

On white

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

On black

15.00
#F9D85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D85B
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D85B#FFFFFF#000000##000000
##F9D85B1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44D
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d85b;
/* rgb */ color: rgb(249, 216, 91);
/* oklch */ color: oklch(88.7% 0.146 94.4);
Tailwind
colors: {
  custom: {
    50: '#ffe38e',
    500: '#f9d85b',
    950: '#000000',
  },
}
SCSS
$custom: #f9d85b;
$custom-light: #ffe38e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d85b",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 47.468,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88723,
    "c": 0.14618,
    "h": 94.4
  },
  "luminance": 0.70007
}

Semantic roles & 50–950 ramp

primary
#F9D85B
secondary
#2B4DCD
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D85B

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

Preview Lab → · Contrast checker → · Palette generator →

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