#F9C797#F9C797

#F9C797 is a very light, moderate orange. Relative luminance 0.632; OKLCH L 86.3% C 0.085 H 65.2°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#F9C797
RGBrgb(249, 199, 151)
HSLhsl(29, 89%, 78%)
HSVhsv(29, 39%, 98%)
CMYKcmyk(0%, 20.1%, 39.4%, 2.4%)
CIE-LABlab(83.56, 11.55, 30.79)
CIE-LCHlch(83.56, 32.88, 69.43°)
OKLaboklab(86.26% 0.0355 0.0768)
OKLCHoklch(86.26% 0.085 65.2)
XYZxyz(65.0783, 63.2244, 38.0478)
Luminance0.6322 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9C797 #97C9F9
analogous
#F99798 #F9C797 #F9F897
triadic
#F9C797 #97F9C7 #C797F9
tetradic
#F9C797 #98F997 #97C9F9 #F897F9
square
#F9C797 #98F997 #97C9F9 #F897F9
split-complementary
#F9C797 #97F9F8 #9798F9
monochromatic
#F28923 #F6A85D #F9C797 #FCE6D1 #FDEFE2

Accessibility & contrast

On white

1.54
#F9C797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#F9C797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9C797
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9C797#FFFFFF#000000##000000
##F9C7971.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7CA94
Deuteranopia (green-blind)
#E3D598
Tritanopia (blue-blind)
#FFBCBA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f9c797;
/* rgb */ color: rgb(249, 199, 151);
/* oklch */ color: oklch(86.3% 0.085 65.2);
Tailwind
colors: {
  custom: {
    50: '#fdd8b6',
    500: '#f9c797',
    950: '#000000',
  },
}
SCSS
$custom: #f9c797;
$custom-light: #fdd8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9c797",
  "rgb": {
    "r": 249,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 29.388,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.86261,
    "c": 0.08458,
    "h": 65.2
  },
  "luminance": 0.63221
}

Semantic roles & 50–950 ramp

primary
#F9C797
secondary
#5B9BD9
accent
#75E600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #F9C797

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

Preview Lab → · Contrast checker → · Palette generator →

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