#F9F564#F9F564

#F9F564 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.7% C 0.164 H 107.7°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#F9F564
RGBrgb(249, 245, 100)
HSLhsl(58, 93%, 68%)
HSVhsv(58, 60%, 98%)
CMYKcmyk(0%, 1.6%, 59.8%, 2.4%)
CIE-LABlab(94.47, -16.14, 68.28)
CIE-LCHlch(94.47, 70.16, 103.30°)
OKLaboklab(94.68% -0.0497 0.1561)
OKLCHoklch(94.68% 0.164 107.7)
XYZxyz(74.0219, 86.3669, 24.8254)
Luminance0.8637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F564 #6468F9
analogous
#F9AA64 #F9F564 #B2F964
triadic
#F9F564 #64F9F5 #F564F9
tetradic
#F9F564 #64F9AA #6468F9 #F964B2
square
#F9F564 #64F9AA #6468F9 #F964B2
split-complementary
#F9F564 #64B2F9 #AA64F9
monochromatic
#DAD508 #F7F129 #F9F564 #FBF99F #FEFDDA

Accessibility & contrast

On white

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

On black

18.27
#F9F564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F564
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F564#FFFFFF#000000##000000
##F9F5641.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC53
Deuteranopia (green-blind)
#FFF26D
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f564;
/* rgb */ color: rgb(249, 245, 100);
/* oklch */ color: oklch(94.7% 0.164 107.7);
Tailwind
colors: {
  custom: {
    50: '#fef896',
    500: '#f9f564',
    950: '#000000',
  },
}
SCSS
$custom: #f9f564;
$custom-light: #fef896;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f564",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 100
  },
  "hsl": {
    "h": 58.389,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94675,
    "c": 0.16383,
    "h": 107.7
  },
  "luminance": 0.86365
}

Semantic roles & 50–950 ramp

primary
#F9F564
secondary
#2F33D2
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F564

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

Preview Lab → · Contrast checker → · Palette generator →

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