#F9D156#F9D156

#F9D156 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.3% C 0.145 H 90.9°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#F9D156
RGBrgb(249, 209, 86)
HSLhsl(45, 93%, 66%)
HSVhsv(45, 65%, 98%)
CMYKcmyk(0%, 16.1%, 65.5%, 2.4%)
CIE-LABlab(85.21, 0.97, 64.18)
CIE-LCHlch(85.21, 64.18, 89.13°)
OKLaboklab(87.29% -0.0024 0.1454)
OKLCHoklch(87.29% 0.145 90.9)
XYZxyz(63.5503, 66.4162, 18.2746)
Luminance0.6641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D156 #567EF9
analogous
#F97F56 #F9D156 #CFF956
triadic
#F9D156 #56F9D1 #D156F9
tetradic
#F9D156 #56F97F #567EF9 #F956CF
square
#F9D156 #56F97F #567EF9 #F956CF
split-complementary
#F9D156 #56CFF9 #7F56F9
monochromatic
#CD9D07 #F7C11B #F9D156 #FBE191 #FDF1CC

Accessibility & contrast

On white

1.47
#F9D156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#F9D156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D156
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D156#FFFFFF#000000##000000
##F9D1561.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE47
Deuteranopia (green-blind)
#F1DA5C
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f9d156;
/* rgb */ color: rgb(249, 209, 86);
/* oklch */ color: oklch(87.3% 0.145 90.9);
Tailwind
colors: {
  custom: {
    50: '#ffde8b',
    500: '#f9d156',
    950: '#000000',
  },
}
SCSS
$custom: #f9d156;
$custom-light: #ffde8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d156",
  "rgb": {
    "r": 249,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 45.276,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87293,
    "c": 0.14544,
    "h": 90.9
  },
  "luminance": 0.66413
}

Semantic roles & 50–950 ramp

primary
#F9D156
secondary
#2A51C9
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F9D156

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

Preview Lab → · Contrast checker → · Palette generator →

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