#FFD797#FFD797

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

Color values

HEX#FFD797
RGBrgb(255, 215, 151)
HSLhsl(37, 100%, 80%)
HSVhsv(37, 41%, 100%)
CMYKcmyk(0%, 15.7%, 40.8%, 0%)
CIE-LABlab(88.02, 5.60, 36.77)
CIE-LCHlch(88.02, 37.19, 81.34°)
OKLaboklab(89.88% 0.0178 0.0907)
OKLCHoklch(89.88% 0.092 78.9)
XYZxyz(71.1284, 72.0985, 39.4420)
Luminance0.7209 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD797 #97BFFF
analogous
#FFA397 #FFD797 #F3FF97
triadic
#FFD797 #97FFD7 #D797FF
tetradic
#FFD797 #97FFA3 #97BFFF #FF97F3
square
#FFD797 #97FFA3 #97BFFF #FF97F3
split-complementary
#FFD797 #97F3FF #A397FF
monochromatic
#FFA81D #FFBF5A #FFD797 #FFEFD4 #FFF3E0

Accessibility & contrast

On white

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

On black

15.42
#FFD797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD797
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD797#FFFFFF#000000##000000
##FFD7971.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D792
Deuteranopia (green-blind)
#F1E199
Tritanopia (blue-blind)
#FFCBC7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ffd797;
/* rgb */ color: rgb(255, 215, 151);
/* oklch */ color: oklch(89.9% 0.092 78.9);
Tailwind
colors: {
  custom: {
    50: '#ffe3b6',
    500: '#ffd797',
    950: '#000000',
  },
}
SCSS
$custom: #ffd797;
$custom-light: #ffe3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd797",
  "rgb": {
    "r": 255,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 36.923,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.89882,
    "c": 0.09244,
    "h": 78.9
  },
  "luminance": 0.72095
}

Semantic roles & 50–950 ramp

primary
#FFD797
secondary
#598DE2
accent
#58E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FFD797

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

Preview Lab → · Contrast checker → · Palette generator →

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