#F9D256#F9D256

#F9D256 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.5% C 0.146 H 91.5°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#F9D256
RGBrgb(249, 210, 86)
HSLhsl(46, 93%, 66%)
HSVhsv(46, 65%, 98%)
CMYKcmyk(0%, 15.7%, 65.5%, 2.4%)
CIE-LABlab(85.46, 0.46, 64.44)
CIE-LCHlch(85.46, 64.44, 89.59°)
OKLaboklab(87.49% -0.0038 0.146)
OKLCHoklch(87.49% 0.146 91.5)
XYZxyz(63.7965, 66.9084, 18.3566)
Luminance0.6691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D256 #567DF9
analogous
#F98056 #F9D256 #CFF956
triadic
#F9D256 #56F9D2 #D256F9
tetradic
#F9D256 #56F980 #567DF9 #F956CF
square
#F9D256 #56F980 #567DF9 #F956CF
split-complementary
#F9D256 #56CFF9 #8056F9
monochromatic
#CD9E07 #F7C21B #F9D256 #FBE291 #FDF1CC

Accessibility & contrast

On white

1.46
#F9D256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#F9D256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D256
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D256#FFFFFF#000000##000000
##F9D2561.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF47
Deuteranopia (green-blind)
#F1DA5C
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f9d256;
/* rgb */ color: rgb(249, 210, 86);
/* oklch */ color: oklch(87.5% 0.146 91.5);
Tailwind
colors: {
  custom: {
    50: '#ffdf8b',
    500: '#f9d256',
    950: '#000000',
  },
}
SCSS
$custom: #f9d256;
$custom-light: #ffdf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d256",
  "rgb": {
    "r": 249,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 45.644,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8749,
    "c": 0.14603,
    "h": 91.5
  },
  "luminance": 0.66905
}

Semantic roles & 50–950 ramp

primary
#F9D256
secondary
#2A50C9
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F9D256

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

Preview Lab → · Contrast checker → · Palette generator →

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