#F9F164#F9F164

#F9F164 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.9% C 0.160 H 106.0°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#F9F164
RGBrgb(249, 241, 100)
HSLhsl(57, 93%, 68%)
HSVhsv(57, 60%, 98%)
CMYKcmyk(0%, 3.2%, 59.8%, 2.4%)
CIE-LABlab(93.44, -14.19, 67.16)
CIE-LCHlch(93.44, 68.65, 101.93°)
OKLaboklab(93.85% -0.0442 0.1537)
OKLCHoklch(93.85% 0.16 106)
XYZxyz(72.8249, 83.9728, 24.4264)
Luminance0.8397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F164 #646CF9
analogous
#F9A764 #F9F164 #B6F964
triadic
#F9F164 #64F9F1 #F164F9
tetradic
#F9F164 #64F9A7 #646CF9 #F964B6
square
#F9F164 #64F9A7 #646CF9 #F964B6
split-complementary
#F9F164 #64B6F9 #A764F9
monochromatic
#DACF08 #F7EC29 #F9F164 #FBF69F #FEFCDA

Accessibility & contrast

On white

1.18
#F9F164 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#F9F164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F164
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F164#FFFFFF#000000##000000
##F9F1641.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE954
Deuteranopia (green-blind)
#FFEF6C
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9f164;
/* rgb */ color: rgb(249, 241, 100);
/* oklch */ color: oklch(93.9% 0.160 106.0);
Tailwind
colors: {
  custom: {
    50: '#fef595',
    500: '#f9f164',
    950: '#000000',
  },
}
SCSS
$custom: #f9f164;
$custom-light: #fef595;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f164",
  "rgb": {
    "r": 249,
    "g": 241,
    "b": 100
  },
  "hsl": {
    "h": 56.779,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93854,
    "c": 0.15996,
    "h": 106
  },
  "luminance": 0.8397
}

Semantic roles & 50–950 ramp

primary
#F9F164
secondary
#2F38D2
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F164

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

Preview Lab → · Contrast checker → · Palette generator →

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