#F9E856#F9E856

#F9E856 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.9% C 0.162 H 102.6°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#F9E856
RGBrgb(249, 232, 86)
HSLhsl(54, 93%, 66%)
HSVhsv(54, 65%, 98%)
CMYKcmyk(0%, 6.8%, 65.5%, 2.4%)
CIE-LABlab(91.02, -10.61, 70.28)
CIE-LCHlch(91.02, 71.07, 98.58°)
OKLaboklab(91.9% -0.0355 0.1583)
OKLCHoklch(91.9% 0.162 102.6)
XYZxyz(69.6061, 78.5277, 20.2932)
Luminance0.7853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E856 #5667F9
analogous
#F99656 #F9E856 #B9F956
triadic
#F9E856 #56F9E8 #E856F9
tetradic
#F9E856 #56F996 #5667F9 #F956B9
square
#F9E856 #56F996 #5667F9 #F956B9
split-complementary
#F9E856 #56B9F9 #9656F9
monochromatic
#CDB907 #F7E01B #F9E856 #FBF091 #FDF8CC

Accessibility & contrast

On white

1.26
#F9E856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#F9E856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E856
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E856#FFFFFF#000000##000000
##F9E8561.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE143
Deuteranopia (green-blind)
#FFE95F
Tritanopia (blue-blind)
#FFD9CA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e856;
/* rgb */ color: rgb(249, 232, 86);
/* oklch */ color: oklch(91.9% 0.162 102.6);
Tailwind
colors: {
  custom: {
    50: '#ffef8d',
    500: '#f9e856',
    950: '#000000',
  },
}
SCSS
$custom: #f9e856;
$custom-light: #ffef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e856",
  "rgb": {
    "r": 249,
    "g": 232,
    "b": 86
  },
  "hsl": {
    "h": 53.742,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91895,
    "c": 0.16226,
    "h": 102.6
  },
  "luminance": 0.78525
}

Semantic roles & 50–950 ramp

primary
#F9E856
secondary
#2A3BC9
accent
#18E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F9E856

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

Preview Lab → · Contrast checker → · Palette generator →

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