#F9CC97#F9CC97

#F9CC97 is a very light, moderate orange. Relative luminance 0.656; OKLCH L 87.2% C 0.085 H 70.9°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#F9CC97
RGBrgb(249, 204, 151)
HSLhsl(32, 89%, 78%)
HSVhsv(32, 39%, 98%)
CMYKcmyk(0%, 18.1%, 39.4%, 2.4%)
CIE-LABlab(84.77, 8.95, 32.40)
CIE-LCHlch(84.77, 33.61, 74.56°)
OKLaboklab(87.21% 0.0279 0.0805)
OKLCHoklch(87.21% 0.085 70.9)
XYZxyz(66.2477, 65.5631, 38.4376)
Luminance0.6556 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9CC97 #97C4F9
analogous
#F99B97 #F9CC97 #F5F997
triadic
#F9CC97 #97F9CC #CC97F9
tetradic
#F9CC97 #97F99B #97C4F9 #F997F5
square
#F9CC97 #97F99B #97C4F9 #F997F5
split-complementary
#F9CC97 #97F5F9 #9B97F9
monochromatic
#F29323 #F6B05D #F9CC97 #FCE8D1 #FDF1E2

Accessibility & contrast

On white

1.49
#F9CC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#F9CC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9CC97
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9CC97#FFFFFF#000000##000000
##F9CC971.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCE93
Deuteranopia (green-blind)
#E7D898
Tritanopia (blue-blind)
#FFC1BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f9cc97;
/* rgb */ color: rgb(249, 204, 151);
/* oklch */ color: oklch(87.2% 0.085 70.9);
Tailwind
colors: {
  custom: {
    50: '#fddbb6',
    500: '#f9cc97',
    950: '#000000',
  },
}
SCSS
$custom: #f9cc97;
$custom-light: #fddbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9cc97",
  "rgb": {
    "r": 249,
    "g": 204,
    "b": 151
  },
  "hsl": {
    "h": 32.449,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.8721,
    "c": 0.08523,
    "h": 70.9
  },
  "luminance": 0.6556
}

Semantic roles & 50–950 ramp

primary
#F9CC97
secondary
#5B95D9
accent
#69E600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181511
muted
#868481

Preview Lab

Preview with #F9CC97

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

Preview Lab → · Contrast checker → · Palette generator →

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