#FFD796#FFD796

#FFD796 is a very light, moderate orange. Relative luminance 0.721; OKLCH L 89.9% C 0.093 H 79.3°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#FFD796
RGBrgb(255, 215, 150)
HSLhsl(37, 100%, 79%)
HSVhsv(37, 41%, 100%)
CMYKcmyk(0%, 15.7%, 41.2%, 0%)
CIE-LABlab(88.00, 5.50, 37.26)
CIE-LCHlch(88.00, 37.66, 81.61°)
OKLaboklab(89.87% 0.0174 0.0918)
OKLCHoklch(89.87% 0.093 79.3)
XYZxyz(71.0476, 72.0662, 39.0161)
Luminance0.7206 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD796 #96BEFF
analogous
#FFA396 #FFD796 #F2FF96
triadic
#FFD796 #96FFD7 #D796FF
tetradic
#FFD796 #96FFA3 #96BEFF #FF96F2
square
#FFD796 #96FFA3 #96BEFF #FF96F2
split-complementary
#FFD796 #96F2FF #A396FF
monochromatic
#FFA81C #FFC059 #FFD796 #FFEED3 #FFF3E0

Accessibility & contrast

On white

1.36
#FFD796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#FFD796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD796
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD796#FFFFFF#000000##000000
##FFD7961.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D791
Deuteranopia (green-blind)
#F1E198
Tritanopia (blue-blind)
#FFCBC6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ffd796;
/* rgb */ color: rgb(255, 215, 150);
/* oklch */ color: oklch(89.9% 0.093 79.3);
Tailwind
colors: {
  custom: {
    50: '#ffe3b5',
    500: '#ffd796',
    950: '#000000',
  },
}
SCSS
$custom: #ffd796;
$custom-light: #ffe3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd796",
  "rgb": {
    "r": 255,
    "g": 215,
    "b": 150
  },
  "hsl": {
    "h": 37.143,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.89865,
    "c": 0.09344,
    "h": 79.3
  },
  "luminance": 0.72063
}

Semantic roles & 50–950 ramp

primary
#FFD796
secondary
#588CE1
accent
#57E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FFD796

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

Preview Lab → · Contrast checker → · Palette generator →

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