#F9CD97#F9CD97

#F9CD97 is a very light, moderate orange. Relative luminance 0.660; OKLCH L 87.4% C 0.085 H 72.0°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#F9CD97
RGBrgb(249, 205, 151)
HSLhsl(33, 89%, 78%)
HSVhsv(33, 39%, 98%)
CMYKcmyk(0%, 17.7%, 39.4%, 2.4%)
CIE-LABlab(85.02, 8.43, 32.72)
CIE-LCHlch(85.02, 33.79, 75.55°)
OKLaboklab(87.4% 0.0263 0.0813)
OKLCHoklch(87.4% 0.085 72)
XYZxyz(66.4861, 66.0400, 38.5171)
Luminance0.6604 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9CD97 #97C3F9
analogous
#F99C97 #F9CD97 #F4F997
triadic
#F9CD97 #97F9CD #CD97F9
tetradic
#F9CD97 #97F99C #97C3F9 #F997F4
square
#F9CD97 #97F99C #97C3F9 #F997F4
split-complementary
#F9CD97 #97F4F9 #9C97F9
monochromatic
#F29523 #F6B15D #F9CD97 #FCE9D1 #FDF1E2

Accessibility & contrast

On white

1.48
#F9CD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#F9CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9CD97
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9CD97#FFFFFF#000000##000000
##F9CD971.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCE93
Deuteranopia (green-blind)
#E7D998
Tritanopia (blue-blind)
#FFC2BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f9cd97;
/* rgb */ color: rgb(249, 205, 151);
/* oklch */ color: oklch(87.4% 0.085 72.0);
Tailwind
colors: {
  custom: {
    50: '#fddcb6',
    500: '#f9cd97',
    950: '#000000',
  },
}
SCSS
$custom: #f9cd97;
$custom-light: #fddcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9cd97",
  "rgb": {
    "r": 249,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 33.061,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.87401,
    "c": 0.08546,
    "h": 72
  },
  "luminance": 0.66037
}

Semantic roles & 50–950 ramp

primary
#F9CD97
secondary
#5B94D9
accent
#67E600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181511
muted
#868481

Preview Lab

Preview with #F9CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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