#F7D97D#F7D97D

#F7D97D is a very light, moderate yellow. Relative luminance 0.709; OKLCH L 89.1% C 0.117 H 91.8°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#F7D97D
RGBrgb(247, 217, 125)
HSLhsl(45, 88%, 73%)
HSVhsv(45, 49%, 97%)
CMYKcmyk(0%, 12.1%, 49.4%, 3.1%)
CIE-LABlab(87.43, -1.10, 48.83)
CIE-LCHlch(87.43, 48.84, 91.29°)
OKLaboklab(89.13% -0.0037 0.1167)
OKLCHoklch(89.13% 0.117 91.8)
XYZxyz(66.8746, 70.8835, 29.5574)
Luminance0.7088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D97D #7D9BF7
analogous
#F79C7D #F7D97D #D8F77D
triadic
#F7D97D #7DF7D9 #D97DF7
tetradic
#F7D97D #7DF79C #7D9BF7 #F77DD8
square
#F7D97D #7DF79C #7D9BF7 #F77DD8
split-complementary
#F7D97D #7DD8F7 #9C7DF7
monochromatic
#EBB50E #F3C843 #F7D97D #FBEAB7 #FDF7E2

Accessibility & contrast

On white

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

On black

15.18
#F7D97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D97D
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D97D#FFFFFF#000000##000000
##F7D97D1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7d97d;
/* rgb */ color: rgb(247, 217, 125);
/* oklch */ color: oklch(89.1% 0.117 91.8);
Tailwind
colors: {
  custom: {
    50: '#fce4a4',
    500: '#f7d97d',
    950: '#000000',
  },
}
SCSS
$custom: #f7d97d;
$custom-light: #fce4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d97d",
  "rgb": {
    "r": 247,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 45.246,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89132,
    "c": 0.11675,
    "h": 91.8
  },
  "luminance": 0.70881
}

Semantic roles & 50–950 ramp

primary
#F7D97D
secondary
#4568D3
accent
#39E500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F7D97D

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

Preview Lab → · Contrast checker → · Palette generator →

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