#F9F56F#F9F56F

#F9F56F is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.8% C 0.155 H 107.4°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#F9F56F
RGBrgb(249, 245, 111)
HSLhsl(58, 92%, 71%)
HSVhsv(58, 55%, 98%)
CMYKcmyk(0%, 1.6%, 55.4%, 2.4%)
CIE-LABlab(94.57, -15.38, 63.72)
CIE-LCHlch(94.57, 65.55, 103.57°)
OKLaboklab(94.78% -0.0464 0.1477)
OKLCHoklch(94.78% 0.155 107.4)
XYZxyz(74.5907, 86.5944, 27.8210)
Luminance0.8659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F56F #6F73F9
analogous
#F9B06F #F9F56F #B8F96F
triadic
#F9F56F #6FF9F5 #F56FF9
tetradic
#F9F56F #6FF9B0 #6F73F9 #F96FB8
square
#F9F56F #6FF9B0 #6F73F9 #F96FB8
split-complementary
#F9F56F #6FB8F9 #B06FF9
monochromatic
#E4DE0A #F7F134 #F9F56F #FBF9AA #FEFDE2

Accessibility & contrast

On white

1.15
#F9F56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#F9F56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F56F
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F56F#FFFFFF#000000##000000
##F9F56F1.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC61
Deuteranopia (green-blind)
#FFF276
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f56f;
/* rgb */ color: rgb(249, 245, 111);
/* oklch */ color: oklch(94.8% 0.155 107.4);
Tailwind
colors: {
  custom: {
    50: '#fef89c',
    500: '#f9f56f',
    950: '#000000',
  },
}
SCSS
$custom: #f9f56f;
$custom-light: #fef89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f56f",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 58.261,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94783,
    "c": 0.15485,
    "h": 107.4
  },
  "luminance": 0.86592
}

Semantic roles & 50–950 ramp

primary
#F9F56F
secondary
#383DD4
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F56F

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

Preview Lab → · Contrast checker → · Palette generator →

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