#FFC796#FFC796

#FFC796 is a very light, moderate orange. Relative luminance 0.643; OKLCH L 86.8% C 0.090 H 62.4°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#FFC796
RGBrgb(255, 199, 150)
HSLhsl(28, 100%, 79%)
HSVhsv(28, 41%, 100%)
CMYKcmyk(0%, 22%, 41.2%, 0%)
CIE-LABlab(84.13, 13.78, 32.17)
CIE-LCHlch(84.13, 34.99, 66.81°)
OKLaboklab(86.83% 0.0418 0.0799)
OKLCHoklch(86.83% 0.09 62.4)
XYZxyz(67.1708, 64.3127, 37.7238)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFC796 #96CEFF
analogous
#FF969A #FFC796 #FFFC96
triadic
#FFC796 #96FFC7 #C796FF
tetradic
#FFC796 #9AFF96 #96CEFF #FC96FF
square
#FFC796 #9AFF96 #96CEFF #FC96FF
split-complementary
#FFC796 #96FFFC #969AFF
monochromatic
#FF861C #FFA659 #FFC796 #FFE8D3 #FFEFE0

Accessibility & contrast

On white

1.51
#FFC796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#FFC796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFC796
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFC796#FFFFFF#000000##000000
##FFC7961.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CA92
Deuteranopia (green-blind)
#E6D797
Tritanopia (blue-blind)
#FFBBBA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ffc796;
/* rgb */ color: rgb(255, 199, 150);
/* oklch */ color: oklch(86.8% 0.090 62.4);
Tailwind
colors: {
  custom: {
    50: '#ffd8b5',
    500: '#ffc796',
    950: '#000000',
  },
}
SCSS
$custom: #ffc796;
$custom-light: #ffd8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffc796",
  "rgb": {
    "r": 255,
    "g": 199,
    "b": 150
  },
  "hsl": {
    "h": 28,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.86833,
    "c": 0.0902,
    "h": 62.4
  },
  "luminance": 0.64309
}

Semantic roles & 50–950 ramp

primary
#FFC796
secondary
#58A1E1
accent
#7AE600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FFC796

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

Preview Lab → · Contrast checker → · Palette generator →

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