#F9E992#F9E992

#F9E992 is a very light, moderate yellow. Relative luminance 0.805; OKLCH L 92.8% C 0.109 H 99.1°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#F9E992
RGBrgb(249, 233, 146)
HSLhsl(51, 90%, 77%)
HSVhsv(51, 41%, 98%)
CMYKcmyk(0%, 6.4%, 41.4%, 2.4%)
CIE-LABlab(91.91, -6.39, 44.18)
CIE-LCHlch(91.91, 44.64, 98.24°)
OKLaboklab(92.8% -0.0172 0.1076)
OKLCHoklch(92.8% 0.109 99.1)
XYZxyz(73.3957, 80.4952, 38.8595)
Luminance0.8049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E992 #92A2F9
analogous
#F9B692 #F9E992 #D5F992
triadic
#F9E992 #92F9E9 #E992F9
tetradic
#F9E992 #92F9B6 #92A2F9 #F992D5
square
#F9E992 #92F9B6 #92A2F9 #F992D5
split-complementary
#F9E992 #92D5F9 #B692F9
monochromatic
#F3D21E #F6DD58 #F9E992 #FCF5CC #FDF9E2

Accessibility & contrast

On white

1.23
#F9E992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.10
#F9E992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E992
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E992#FFFFFF#000000##000000
##F9E9921.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E48B
Deuteranopia (green-blind)
#FDEB95
Tritanopia (blue-blind)
#FFDDD4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f9e992;
/* rgb */ color: rgb(249, 233, 146);
/* oklch */ color: oklch(92.8% 0.109 99.1);
Tailwind
colors: {
  custom: {
    50: '#fdefb3',
    500: '#f9e992',
    950: '#000000',
  },
}
SCSS
$custom: #f9e992;
$custom-light: #fdefb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e992",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 146
  },
  "hsl": {
    "h": 50.68,
    "s": 89.565,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92803,
    "c": 0.10892,
    "h": 99.1
  },
  "luminance": 0.80493
}

Semantic roles & 50–950 ramp

primary
#F9E992
secondary
#576BD8
accent
#24E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F9E992

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

Preview Lab → · Contrast checker → · Palette generator →

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