#F9D97D#F9D97D

#F9D97D is a very light, moderate orange. Relative luminance 0.712; OKLCH L 89.3% C 0.117 H 90.8°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#F9D97D
RGBrgb(249, 217, 125)
HSLhsl(45, 91%, 73%)
HSVhsv(45, 50%, 98%)
CMYKcmyk(0%, 12.9%, 49.8%, 2.4%)
CIE-LABlab(87.61, -0.30, 49.08)
CIE-LCHlch(87.61, 49.08, 90.35°)
OKLaboklab(89.31% -0.0015 0.1172)
OKLCHoklch(89.31% 0.117 90.8)
XYZxyz(67.5838, 71.2492, 29.5906)
Luminance0.7125 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D97D #7D9DF9
analogous
#F99B7D #F9D97D #DBF97D
triadic
#F9D97D #7DF9D9 #D97DF9
tetradic
#F9D97D #7DF99B #7D9DF9 #F97DDB
square
#F9D97D #7DF99B #7D9DF9 #F97DDB
split-complementary
#F9D97D #7DDBF9 #9B7DF9
monochromatic
#F0B50B #F6C842 #F9D97D #FCEAB7 #FEF6E2

Accessibility & contrast

On white

1.38
#F9D97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#F9D97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D97D
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D97D#FFFFFF#000000##000000
##F9D97D1.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD675
Deuteranopia (green-blind)
#F3E080
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f9d97d;
/* rgb */ color: rgb(249, 217, 125);
/* oklch */ color: oklch(89.3% 0.117 90.8);
Tailwind
colors: {
  custom: {
    50: '#fde4a4',
    500: '#f9d97d',
    950: '#000000',
  },
}
SCSS
$custom: #f9d97d;
$custom-light: #fde4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d97d",
  "rgb": {
    "r": 249,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 44.516,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.89314,
    "c": 0.11724,
    "h": 90.8
  },
  "luminance": 0.71246
}

Semantic roles & 50–950 ramp

primary
#F9D97D
secondary
#446AD6
accent
#3BE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F9D97D

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

Preview Lab → · Contrast checker → · Palette generator →

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