#F9F766#F9F766

#F9F766 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.1% C 0.164 H 108.4°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#F9F766
RGBrgb(249, 247, 102)
HSLhsl(59, 92%, 69%)
HSVhsv(59, 59%, 98%)
CMYKcmyk(0%, 0.8%, 59%, 2.4%)
CIE-LABlab(95.00, -16.98, 68.03)
CIE-LCHlch(95.00, 70.12, 104.01°)
OKLaboklab(95.1% -0.0519 0.1558)
OKLCHoklch(95.1% 0.164 108.4)
XYZxyz(74.7282, 87.6227, 25.5442)
Luminance0.8762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F766 #6668F9
analogous
#F9AE66 #F9F766 #B2F966
triadic
#F9F766 #66F9F7 #F766F9
tetradic
#F9F766 #66F9AE #6668F9 #F966B2
square
#F9F766 #66F9AE #6668F9 #F966B2
split-complementary
#F9F766 #66B2F9 #AE66F9
monochromatic
#DCD909 #F7F42B #F9F766 #FBFAA1 #FEFDDC

Accessibility & contrast

On white

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

On black

18.52
#F9F766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F766
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F766#FFFFFF#000000##000000
##F9F7661.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE55
Deuteranopia (green-blind)
#FFF36F
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f766;
/* rgb */ color: rgb(249, 247, 102);
/* oklch */ color: oklch(95.1% 0.164 108.4);
Tailwind
colors: {
  custom: {
    50: '#fef997',
    500: '#f9f766',
    950: '#000000',
  },
}
SCSS
$custom: #f9f766;
$custom-light: #fef997;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f766",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 59.184,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.95105,
    "c": 0.16425,
    "h": 108.4
  },
  "luminance": 0.87621
}

Semantic roles & 50–950 ramp

primary
#F9F766
secondary
#3033D3
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F766

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

Preview Lab → · Contrast checker → · Palette generator →

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