#F9F56A#F9F56A

#F9F56A is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.7% C 0.159 H 107.5°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#F9F56A
RGBrgb(249, 245, 106)
HSLhsl(58, 92%, 70%)
HSVhsv(58, 57%, 98%)
CMYKcmyk(0%, 1.6%, 57.4%, 2.4%)
CIE-LABlab(94.52, -15.74, 65.82)
CIE-LCHlch(94.52, 67.68, 103.45°)
OKLaboklab(94.73% -0.0479 0.1516)
OKLCHoklch(94.73% 0.159 107.5)
XYZxyz(74.3231, 86.4873, 26.4115)
Luminance0.8649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F56A #6A6EF9
analogous
#F9AE6A #F9F56A #B5F96A
triadic
#F9F56A #6AF9F5 #F56AF9
tetradic
#F9F56A #6AF9AE #6A6EF9 #F96AB5
square
#F9F56A #6AF9AE #6A6EF9 #F96AB5
split-complementary
#F9F56A #6AB5F9 #AE6AF9
monochromatic
#E0DA09 #F7F12F #F9F56A #FBF9A5 #FEFDE0

Accessibility & contrast

On white

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

On black

18.30
#F9F56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F56A
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F56A#FFFFFF#000000##000000
##F9F56A1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5B
Deuteranopia (green-blind)
#FFF272
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f56a;
/* rgb */ color: rgb(249, 245, 106);
/* oklch */ color: oklch(94.7% 0.159 107.5);
Tailwind
colors: {
  custom: {
    50: '#fef899',
    500: '#f9f56a',
    950: '#000000',
  },
}
SCSS
$custom: #f9f56a;
$custom-light: #fef899;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f56a",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 106
  },
  "hsl": {
    "h": 58.322,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94732,
    "c": 0.15904,
    "h": 107.5
  },
  "luminance": 0.86485
}

Semantic roles & 50–950 ramp

primary
#F9F56A
secondary
#3438D3
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F56A

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

Preview Lab → · Contrast checker → · Palette generator →

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