#F9D97F#F9D97F

#F9D97F is a very light, moderate orange. Relative luminance 0.713; OKLCH L 89.3% C 0.115 H 90.4°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#F9D97F
RGBrgb(249, 217, 127)
HSLhsl(44, 91%, 74%)
HSVhsv(44, 49%, 98%)
CMYKcmyk(0%, 12.9%, 49%, 2.4%)
CIE-LABlab(87.63, -0.12, 48.14)
CIE-LCHlch(87.63, 48.14, 90.15°)
OKLaboklab(89.34% -0.0008 0.1153)
OKLCHoklch(89.34% 0.115 90.4)
XYZxyz(67.7129, 71.3008, 30.2703)
Luminance0.7130 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D97F #7F9FF9
analogous
#F99C7F #F9D97F #DCF97F
triadic
#F9D97F #7FF9D9 #D97FF9
tetradic
#F9D97F #7FF99C #7F9FF9 #F97FDC
square
#F9D97F #7FF99C #7F9FF9 #F97FDC
split-complementary
#F9D97F #7FDCF9 #9C7FF9
monochromatic
#F2B60B #F6C845 #F9D97F #FCEAB9 #FEF6E2

Accessibility & contrast

On white

1.38
#F9D97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.26
#F9D97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D97F
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D97F#FFFFFF#000000##000000
##F9D97F1.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD678
Deuteranopia (green-blind)
#F3E082
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f9d97f;
/* rgb */ color: rgb(249, 217, 127);
/* oklch */ color: oklch(89.3% 0.115 90.4);
Tailwind
colors: {
  custom: {
    50: '#fde4a6',
    500: '#f9d97f',
    950: '#000000',
  },
}
SCSS
$custom: #f9d97f;
$custom-light: #fde4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d97f",
  "rgb": {
    "r": 249,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 44.262,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.89342,
    "c": 0.11529,
    "h": 90.4
  },
  "luminance": 0.71298
}

Semantic roles & 50–950 ramp

primary
#F9D97F
secondary
#466CD6
accent
#3CE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F9D97F

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

Preview Lab → · Contrast checker → · Palette generator →

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