#F9F775#F9F775

#F9F775 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.3% C 0.152 H 108.2°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#F9F775
RGBrgb(249, 247, 117)
HSLhsl(59, 92%, 72%)
HSVhsv(59, 53%, 98%)
CMYKcmyk(0%, 0.8%, 53%, 2.4%)
CIE-LABlab(95.14, -15.90, 61.73)
CIE-LCHlch(95.14, 63.75, 104.44°)
OKLaboklab(95.26% -0.0473 0.1441)
OKLCHoklch(95.26% 0.152 108.2)
XYZxyz(75.5406, 87.9476, 29.8225)
Luminance0.8795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F775 #7577F9
analogous
#F9B575 #F9F775 #B9F975
triadic
#F9F775 #75F9F7 #F775F9
tetradic
#F9F775 #75F9B5 #7577F9 #F975B9
square
#F9F775 #75F9B5 #7577F9 #F975B9
split-complementary
#F9F775 #75B9F9 #B575F9
monochromatic
#E9E60A #F6F43A #F9F775 #FCFAB0 #FEFDE2

Accessibility & contrast

On white

1.13
#F9F775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#F9F775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F775
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F775#FFFFFF#000000##000000
##F9F7751.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE68
Deuteranopia (green-blind)
#FFF37C
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f775;
/* rgb */ color: rgb(249, 247, 117);
/* oklch */ color: oklch(95.3% 0.152 108.2);
Tailwind
colors: {
  custom: {
    50: '#fef9a0',
    500: '#f9f775',
    950: '#000000',
  },
}
SCSS
$custom: #f9f775;
$custom-light: #fef9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f775",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 117
  },
  "hsl": {
    "h": 59.091,
    "s": 91.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95258,
    "c": 0.15167,
    "h": 108.2
  },
  "luminance": 0.87946
}

Semantic roles & 50–950 ramp

primary
#F9F775
secondary
#3D40D5
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F775

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

Preview Lab → · Contrast checker → · Palette generator →

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