#F9D351#F9D351

#F9D351 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.6% C 0.150 H 92.5°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#F9D351
RGBrgb(249, 211, 81)
HSLhsl(46, 93%, 65%)
HSVhsv(46, 67%, 98%)
CMYKcmyk(0%, 15.3%, 67.5%, 2.4%)
CIE-LABlab(85.67, -0.32, 66.73)
CIE-LCHlch(85.67, 66.73, 90.28°)
OKLaboklab(87.64% -0.0067 0.15)
OKLCHoklch(87.64% 0.15 92.5)
XYZxyz(63.8497, 67.3259, 17.4151)
Luminance0.6732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D351 #5177F9
analogous
#F97F51 #F9D351 #CBF951
triadic
#F9D351 #51F9D3 #D351F9
tetradic
#F9D351 #51F97F #5177F9 #F951CB
square
#F9D351 #51F97F #5177F9 #F951CB
split-complementary
#F9D351 #51CBF9 #7F51F9
monochromatic
#C99D07 #F7C416 #F9D351 #FBE28C #FDF1C7

Accessibility & contrast

On white

1.45
#F9D351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#F9D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D351
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D351#FFFFFF#000000##000000
##F9D3511.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#F2DB58
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f9d351;
/* rgb */ color: rgb(249, 211, 81);
/* oklch */ color: oklch(87.6% 0.150 92.5);
Tailwind
colors: {
  custom: {
    50: '#ffe088',
    500: '#f9d351',
    950: '#000000',
  },
}
SCSS
$custom: #f9d351;
$custom-light: #ffe088;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d351",
  "rgb": {
    "r": 249,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 46.429,
    "s": 93.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87644,
    "c": 0.15018,
    "h": 92.5
  },
  "luminance": 0.67322
}

Semantic roles & 50–950 ramp

primary
#F9D351
secondary
#294CC5
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #F9D351

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

Preview Lab → · Contrast checker → · Palette generator →

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