#F9F875#F9F875

#F9F875 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.5% C 0.153 H 108.6°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#F9F875
RGBrgb(249, 248, 117)
HSLhsl(60, 92%, 72%)
HSVhsv(60, 53%, 98%)
CMYKcmyk(0%, 0.4%, 53%, 2.4%)
CIE-LABlab(95.40, -16.39, 62.03)
CIE-LCHlch(95.40, 64.16, 104.80°)
OKLaboklab(95.46% -0.0486 0.1448)
OKLCHoklch(95.46% 0.153 108.6)
XYZxyz(75.8472, 88.5609, 29.9247)
Luminance0.8856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F875 #7576F9
analogous
#F9B675 #F9F875 #B8F975
triadic
#F9F875 #75F9F8 #F875F9
tetradic
#F9F875 #75F9B6 #7576F9 #F975B8
square
#F9F875 #75F9B6 #7576F9 #F975B8
split-complementary
#F9F875 #75B8F9 #B675F9
monochromatic
#E9E80A #F6F53A #F9F875 #FCFBB0 #FEFEE2

Accessibility & contrast

On white

1.12
#F9F875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.71
#F9F875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F875
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F875#FFFFFF#000000##000000
##F9F8751.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF68
Deuteranopia (green-blind)
#FFF47C
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f875;
/* rgb */ color: rgb(249, 248, 117);
/* oklch */ color: oklch(95.5% 0.153 108.6);
Tailwind
colors: {
  custom: {
    50: '#fefaa0',
    500: '#f9f875',
    950: '#000000',
  },
}
SCSS
$custom: #f9f875;
$custom-light: #fefaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f875",
  "rgb": {
    "r": 249,
    "g": 248,
    "b": 117
  },
  "hsl": {
    "h": 59.545,
    "s": 91.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95464,
    "c": 0.15271,
    "h": 108.6
  },
  "luminance": 0.88559
}

Semantic roles & 50–950 ramp

primary
#F9F875
secondary
#3D3FD5
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F875

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

Preview Lab → · Contrast checker → · Palette generator →

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