#F9E993#F9E993

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

Color values

HEX#F9E993
RGBrgb(249, 233, 147)
HSLhsl(51, 89%, 78%)
HSVhsv(51, 41%, 98%)
CMYKcmyk(0%, 6.4%, 41%, 2.4%)
CIE-LABlab(91.92, -6.29, 43.71)
CIE-LCHlch(91.92, 44.16, 98.19°)
OKLaboklab(92.82% -0.0169 0.1065)
OKLCHoklch(92.82% 0.108 99)
XYZxyz(73.4739, 80.5264, 39.2709)
Luminance0.8052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E993 #93A3F9
analogous
#F9B693 #F9E993 #D6F993
triadic
#F9E993 #93F9E9 #E993F9
tetradic
#F9E993 #93F9B6 #93A3F9 #F993D6
square
#F9E993 #93F9B6 #93A3F9 #F993D6
split-complementary
#F9E993 #93D6F9 #B693F9
monochromatic
#F3D11F #F6DD59 #F9E993 #FCF5CD #FDF9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9E993#FFFFFF#000000##000000
##F9E9931.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)
#F8E48C
Deuteranopia (green-blind)
#FDEB96
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f9e993;
/* rgb */ color: rgb(249, 233, 147);
/* oklch */ color: oklch(92.8% 0.108 99.0);
Tailwind
colors: {
  custom: {
    50: '#fdefb4',
    500: '#f9e993',
    950: '#000000',
  },
}
SCSS
$custom: #f9e993;
$custom-light: #fdefb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e993",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 147
  },
  "hsl": {
    "h": 50.588,
    "s": 89.474,
    "l": 77.647
  },
  "oklch": {
    "l": 0.92818,
    "c": 0.10785,
    "h": 99
  },
  "luminance": 0.80524
}

Semantic roles & 50–950 ramp

primary
#F9E993
secondary
#586CD9
accent
#24E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F9E993

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

Preview Lab → · Contrast checker → · Palette generator →

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