#F9C796#F9C796

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

Color values

HEX#F9C796
RGBrgb(249, 199, 150)
HSLhsl(30, 89%, 78%)
HSVhsv(30, 40%, 98%)
CMYKcmyk(0%, 20.1%, 39.8%, 2.4%)
CIE-LABlab(83.54, 11.44, 31.28)
CIE-LCHlch(83.54, 33.31, 69.91°)
OKLaboklab(86.24% 0.0352 0.0779)
OKLCHoklch(86.24% 0.085 65.7)
XYZxyz(64.9974, 63.1920, 37.6219)
Luminance0.6319 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9C796 #96C8F9
analogous
#F99696 #F9C796 #F9F896
triadic
#F9C796 #96F9C7 #C796F9
tetradic
#F9C796 #96F996 #96C8F9 #F896F9
square
#F9C796 #96F996 #96C8F9 #F896F9
split-complementary
#F9C796 #96F9F8 #9696F9
monochromatic
#F28922 #F6A85C #F9C796 #FCE6D0 #FDF0E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9C796#FFFFFF#000000##000000
##F9C7961.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)
#D7CA93
Deuteranopia (green-blind)
#E3D597
Tritanopia (blue-blind)
#FFBCBA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f9c796;
/* rgb */ color: rgb(249, 199, 150);
/* oklch */ color: oklch(86.2% 0.085 65.7);
Tailwind
colors: {
  custom: {
    50: '#fdd8b5',
    500: '#f9c796',
    950: '#000000',
  },
}
SCSS
$custom: #f9c796;
$custom-light: #fdd8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f9c796",
  "rgb": {
    "r": 249,
    "g": 199,
    "b": 150
  },
  "hsl": {
    "h": 29.697,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.86242,
    "c": 0.08546,
    "h": 65.7
  },
  "luminance": 0.63189
}

Semantic roles & 50–950 ramp

primary
#F9C796
secondary
#5A9AD9
accent
#74E600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #F9C796

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

Preview Lab → · Contrast checker → · Palette generator →

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