#F9D55B#F9D55B

#F9D55B is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.144 H 92.7°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#F9D55B
RGBrgb(249, 213, 91)
HSLhsl(46, 93%, 67%)
HSVhsv(46, 63%, 98%)
CMYKcmyk(0%, 14.5%, 63.5%, 2.4%)
CIE-LABlab(86.25, -0.77, 63.17)
CIE-LCHlch(86.25, 63.17, 90.70°)
OKLaboklab(88.13% -0.0068 0.144)
OKLCHoklch(88.13% 0.144 92.7)
XYZxyz(64.7526, 68.4870, 19.7041)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D55B #5B7FF9
analogous
#F9865B #F9D55B #CEF95B
triadic
#F9D55B #5BF9D5 #D55BF9
tetradic
#F9D55B #5BF986 #5B7FF9 #F95BCE
square
#F9D55B #5BF986 #5B7FF9 #F95BCE
split-complementary
#F9D55B #5BCEF9 #865BF9
monochromatic
#D2A408 #F7C620 #F9D55B #FBE496 #FDF3D1

Accessibility & contrast

On white

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

On black

14.70
#F9D55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D55B
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D55B#FFFFFF#000000##000000
##F9D55B1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24D
Deuteranopia (green-blind)
#F3DC61
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f9d55b;
/* rgb */ color: rgb(249, 213, 91);
/* oklch */ color: oklch(88.1% 0.144 92.7);
Tailwind
colors: {
  custom: {
    50: '#ffe18e',
    500: '#f9d55b',
    950: '#000000',
  },
}
SCSS
$custom: #f9d55b;
$custom-light: #ffe18e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d55b",
  "rgb": {
    "r": 249,
    "g": 213,
    "b": 91
  },
  "hsl": {
    "h": 46.329,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88129,
    "c": 0.14418,
    "h": 92.7
  },
  "luminance": 0.68484
}

Semantic roles & 50–950 ramp

primary
#F9D55B
secondary
#2B50CD
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D55B

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

Preview Lab → · Contrast checker → · Palette generator →

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