#FFD98A#FFD98A

#FFD98A is a very light, moderate orange. Relative luminance 0.727; OKLCH L 90.1% C 0.106 H 84.7°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#FFD98A
RGBrgb(255, 217, 138)
HSLhsl(41, 100%, 77%)
HSVhsv(41, 46%, 100%)
CMYKcmyk(0%, 14.9%, 45.9%, 0%)
CIE-LABlab(88.32, 3.27, 43.70)
CIE-LCHlch(88.32, 43.82, 85.72°)
OKLaboklab(90.06% 0.0099 0.106)
OKLCHoklch(90.06% 0.106 84.7)
XYZxyz(70.6427, 72.7240, 34.3560)
Luminance0.7272 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD98A #8AB0FF
analogous
#FF9F8A #FFD98A #EAFF8A
triadic
#FFD98A #8AFFD9 #D98AFF
tetradic
#FFD98A #8AFF9F #8AB0FF #FF8AEA
square
#FFD98A #8AFF9F #8AB0FF #FF8AEA
split-complementary
#FFD98A #8AEAFF #9F8AFF
monochromatic
#FFB110 #FFC54D #FFD98A #FFEDC7 #FFF5E0

Accessibility & contrast

On white

1.35
#FFD98A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#FFD98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD98A
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD98A#FFFFFF#000000##000000
##FFD98A1.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD884
Deuteranopia (green-blind)
#F4E28C
Tritanopia (blue-blind)
#FFCCC6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ffd98a;
/* rgb */ color: rgb(255, 217, 138);
/* oklch */ color: oklch(90.1% 0.106 84.7);
Tailwind
colors: {
  custom: {
    50: '#ffe4ad',
    500: '#ffd98a',
    950: '#000000',
  },
}
SCSS
$custom: #ffd98a;
$custom-light: #ffe4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd98a",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 138
  },
  "hsl": {
    "h": 40.513,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.90055,
    "c": 0.10642,
    "h": 84.7
  },
  "luminance": 0.72721
}

Semantic roles & 50–950 ramp

primary
#FFD98A
secondary
#4E7DE0
accent
#4BE600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #FFD98A

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

Preview Lab → · Contrast checker → · Palette generator →

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