#FFD98F#FFD98F

#FFD98F is a very light, moderate orange. Relative luminance 0.729; OKLCH L 90.1% C 0.101 H 83.4°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#FFD98F
RGBrgb(255, 217, 143)
HSLhsl(40, 100%, 78%)
HSVhsv(40, 44%, 100%)
CMYKcmyk(0%, 14.9%, 43.9%, 0%)
CIE-LABlab(88.39, 3.76, 41.29)
CIE-LCHlch(88.39, 41.46, 84.80°)
OKLaboklab(90.13% 0.0117 0.1008)
OKLCHoklch(90.13% 0.101 83.4)
XYZxyz(71.0130, 72.8722, 36.3065)
Luminance0.7287 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD98F #8FB5FF
analogous
#FFA18F #FFD98F #EDFF8F
triadic
#FFD98F #8FFFD9 #D98FFF
tetradic
#FFD98F #8FFFA1 #8FB5FF #FF8FED
square
#FFD98F #8FFFA1 #8FB5FF #FF8FED
split-complementary
#FFD98F #8FEDFF #A18FFF
monochromatic
#FFAF15 #FFC452 #FFD98F #FFEECC #FFF5E0

Accessibility & contrast

On white

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

On black

15.57
#FFD98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD98F
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD98F#FFFFFF#000000##000000
##FFD98F1.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD889
Deuteranopia (green-blind)
#F4E291
Tritanopia (blue-blind)
#FFCDC7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ffd98f;
/* rgb */ color: rgb(255, 217, 143);
/* oklch */ color: oklch(90.1% 0.101 83.4);
Tailwind
colors: {
  custom: {
    50: '#ffe4b1',
    500: '#ffd98f',
    950: '#000000',
  },
}
SCSS
$custom: #ffd98f;
$custom-light: #ffe4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd98f",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 143
  },
  "hsl": {
    "h": 39.643,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.90134,
    "c": 0.10144,
    "h": 83.4
  },
  "luminance": 0.72869
}

Semantic roles & 50–950 ramp

primary
#FFD98F
secondary
#5282E0
accent
#4EE600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #FFD98F

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

Preview Lab → · Contrast checker → · Palette generator →

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