#F9CF51#F9CF51

#F9CF51 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.9% C 0.148 H 90.3°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#F9CF51
RGBrgb(249, 207, 81)
HSLhsl(45, 93%, 65%)
HSVhsv(45, 67%, 98%)
CMYKcmyk(0%, 16.9%, 67.5%, 2.4%)
CIE-LABlab(84.67, 1.72, 65.69)
CIE-LCHlch(84.67, 65.71, 88.50°)
OKLaboklab(86.86% -0.0008 0.1478)
OKLCHoklch(86.86% 0.148 90.3)
XYZxyz(62.8683, 65.3632, 17.0880)
Luminance0.6536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9CF51 #517BF9
analogous
#F97B51 #F9CF51 #CFF951
triadic
#F9CF51 #51F9CF #CF51F9
tetradic
#F9CF51 #51F97B #517BF9 #F951CF
square
#F9CF51 #51F97B #517BF9 #F951CF
split-complementary
#F9CF51 #51CFF9 #7B51F9
monochromatic
#C99807 #F7BF16 #F9CF51 #FBDF8C #FDF0C7

Accessibility & contrast

On white

1.49
#F9CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#F9CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9CF51
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9CF51#FFFFFF#000000##000000
##F9CF511.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD41
Deuteranopia (green-blind)
#EFD857
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f9cf51;
/* rgb */ color: rgb(249, 207, 81);
/* oklch */ color: oklch(86.9% 0.148 90.3);
Tailwind
colors: {
  custom: {
    50: '#ffdd88',
    500: '#f9cf51',
    950: '#000000',
  },
}
SCSS
$custom: #f9cf51;
$custom-light: #ffdd88;
$custom-dark: #000000;
JSON
{
  "hex": "#f9cf51",
  "rgb": {
    "r": 249,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 45,
    "s": 93.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86857,
    "c": 0.14783,
    "h": 90.3
  },
  "luminance": 0.65359
}

Semantic roles & 50–950 ramp

primary
#F9CF51
secondary
#2950C5
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #F9CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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