#FFD798#FFD798

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

Color values

HEX#FFD798
RGBrgb(255, 215, 152)
HSLhsl(37, 100%, 80%)
HSVhsv(37, 40%, 100%)
CMYKcmyk(0%, 15.7%, 40.4%, 0%)
CIE-LABlab(88.03, 5.71, 36.28)
CIE-LCHlch(88.03, 36.73, 81.06°)
OKLaboklab(89.9% 0.0182 0.0896)
OKLCHoklch(89.9% 0.091 78.5)
XYZxyz(71.2100, 72.1311, 39.8715)
Luminance0.7213 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD798 #98C0FF
analogous
#FFA498 #FFD798 #F4FF98
triadic
#FFD798 #98FFD7 #D798FF
tetradic
#FFD798 #98FFA4 #98C0FF #FF98F4
square
#FFD798 #98FFA4 #98C0FF #FF98F4
split-complementary
#FFD798 #98F4FF #A498FF
monochromatic
#FFA71E #FFBF5B #FFD798 #FFEFD5 #FFF3E0

Accessibility & contrast

On white

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

On black

15.43
#FFD798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD798
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD798#FFFFFF#000000##000000
##FFD7981.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffd798;
/* rgb */ color: rgb(255, 215, 152);
/* oklch */ color: oklch(89.9% 0.091 78.5);
Tailwind
colors: {
  custom: {
    50: '#ffe3b7',
    500: '#ffd798',
    950: '#000000',
  },
}
SCSS
$custom: #ffd798;
$custom-light: #ffe3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd798",
  "rgb": {
    "r": 255,
    "g": 215,
    "b": 152
  },
  "hsl": {
    "h": 36.699,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.89899,
    "c": 0.09144,
    "h": 78.5
  },
  "luminance": 0.72128
}

Semantic roles & 50–950 ramp

primary
#FFD798
secondary
#598EE2
accent
#59E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FFD798

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

Preview Lab → · Contrast checker → · Palette generator →

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