#F9F66B#F9F66B

#F9F66B is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.9% C 0.159 H 107.9°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#F9F66B
RGBrgb(249, 246, 107)
HSLhsl(59, 92%, 70%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 1.2%, 57%, 2.4%)
CIE-LABlab(94.79, -16.15, 65.69)
CIE-LCHlch(94.79, 67.65, 103.81°)
OKLaboklab(94.95% -0.049 0.1515)
OKLCHoklch(94.95% 0.159 107.9)
XYZxyz(74.6788, 87.1149, 26.7881)
Luminance0.8711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F66B #6B6EF9
analogous
#F9AF6B #F9F66B #B5F96B
triadic
#F9F66B #6BF9F6 #F66BF9
tetradic
#F9F66B #6BF9AF #6B6EF9 #F96BB5
square
#F9F66B #6BF9AF #6B6EF9 #F96BB5
split-complementary
#F9F66B #6BB5F9 #AF6BF9
monochromatic
#E0DC09 #F7F230 #F9F66B #FBFAA6 #FEFDE1

Accessibility & contrast

On white

1.14
#F9F66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#F9F66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F66B
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F66B#FFFFFF#000000##000000
##F9F66B1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5C
Deuteranopia (green-blind)
#FFF273
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f66b;
/* rgb */ color: rgb(249, 246, 107);
/* oklch */ color: oklch(94.9% 0.159 107.9);
Tailwind
colors: {
  custom: {
    50: '#fef89a',
    500: '#f9f66b',
    950: '#000000',
  },
}
SCSS
$custom: #f9f66b;
$custom-light: #fef89a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f66b",
  "rgb": {
    "r": 249,
    "g": 246,
    "b": 107
  },
  "hsl": {
    "h": 58.732,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94948,
    "c": 0.15922,
    "h": 107.9
  },
  "luminance": 0.87113
}

Semantic roles & 50–950 ramp

primary
#F9F66B
secondary
#3538D3
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F66B

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

Preview Lab → · Contrast checker → · Palette generator →

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