#F9E756#F9E756

#F9E756 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.7% C 0.161 H 102.2°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F9E756
RGBrgb(249, 231, 86)
HSLhsl(53, 93%, 66%)
HSVhsv(53, 65%, 98%)
CMYKcmyk(0%, 7.2%, 65.5%, 2.4%)
CIE-LABlab(90.76, -10.11, 70.01)
CIE-LCHlch(90.76, 70.74, 98.22°)
OKLaboklab(91.69% -0.0341 0.1578)
OKLCHoklch(91.69% 0.161 102.2)
XYZxyz(69.3254, 77.9663, 20.1996)
Luminance0.7796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E756 #5668F9
analogous
#F99556 #F9E756 #BAF956
triadic
#F9E756 #56F9E7 #E756F9
tetradic
#F9E756 #56F995 #5668F9 #F956BA
square
#F9E756 #56F995 #5668F9 #F956BA
split-complementary
#F9E756 #56BAF9 #9556F9
monochromatic
#CDB707 #F7DF1B #F9E756 #FBEF91 #FDF8CC

Accessibility & contrast

On white

1.27
#F9E756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#F9E756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E756
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E756#FFFFFF#000000##000000
##F9E7561.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE043
Deuteranopia (green-blind)
#FFE85F
Tritanopia (blue-blind)
#FFD8C9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e756;
/* rgb */ color: rgb(249, 231, 86);
/* oklch */ color: oklch(91.7% 0.161 102.2);
Tailwind
colors: {
  custom: {
    50: '#ffee8d',
    500: '#f9e756',
    950: '#000000',
  },
}
SCSS
$custom: #f9e756;
$custom-light: #ffee8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e756",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 86
  },
  "hsl": {
    "h": 53.374,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91692,
    "c": 0.16141,
    "h": 102.2
  },
  "luminance": 0.77963
}

Semantic roles & 50–950 ramp

primary
#F9E756
secondary
#2A3CC9
accent
#19E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F9E756

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

Preview Lab → · Contrast checker → · Palette generator →

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