#F9D55F#F9D55F

#F9D55F is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.2% C 0.141 H 92.3°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#F9D55F
RGBrgb(249, 213, 95)
HSLhsl(46, 93%, 67%)
HSVhsv(46, 62%, 98%)
CMYKcmyk(0%, 14.5%, 61.8%, 2.4%)
CIE-LABlab(86.28, -0.52, 61.47)
CIE-LCHlch(86.28, 61.47, 90.49°)
OKLaboklab(88.17% -0.0056 0.141)
OKLCHoklch(88.17% 0.141 92.3)
XYZxyz(64.9298, 68.5579, 20.6372)
Luminance0.6855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D55F #5F83F9
analogous
#F9885F #F9D55F #D0F95F
triadic
#F9D55F #5FF9D5 #D55FF9
tetradic
#F9D55F #5FF988 #5F83F9 #F95FD0
square
#F9D55F #5FF988 #5F83F9 #F95FD0
split-complementary
#F9D55F #5FD0F9 #885FF9
monochromatic
#D6A608 #F7C624 #F9D55F #FBE49A #FDF4D5

Accessibility & contrast

On white

1.43
#F9D55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#F9D55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D55F
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D55F#FFFFFF#000000##000000
##F9D55F1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#F3DC64
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f9d55f;
/* rgb */ color: rgb(249, 213, 95);
/* oklch */ color: oklch(88.2% 0.141 92.3);
Tailwind
colors: {
  custom: {
    50: '#ffe191',
    500: '#f9d55f',
    950: '#000000',
  },
}
SCSS
$custom: #f9d55f;
$custom-light: #ffe191;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d55f",
  "rgb": {
    "r": 249,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 45.974,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88168,
    "c": 0.14107,
    "h": 92.3
  },
  "luminance": 0.68554
}

Semantic roles & 50–950 ramp

primary
#F9D55F
secondary
#2C52D0
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D55F

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

Preview Lab → · Contrast checker → · Palette generator →

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