#F7D97A#F7D97A

#F7D97A is a very light, moderate yellow. Relative luminance 0.708; OKLCH L 89.1% C 0.120 H 92.3°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#F7D97A
RGBrgb(247, 217, 122)
HSLhsl(46, 89%, 72%)
HSVhsv(46, 51%, 97%)
CMYKcmyk(0%, 12.1%, 50.6%, 3.1%)
CIE-LABlab(87.39, -1.36, 50.23)
CIE-LCHlch(87.39, 50.25, 91.55°)
OKLaboklab(89.09% -0.0048 0.1196)
OKLCHoklch(89.09% 0.12 92.3)
XYZxyz(66.6858, 70.8080, 28.5633)
Luminance0.7080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D97A #7A98F7
analogous
#F79B7A #F7D97A #D6F77A
triadic
#F7D97A #7AF7D9 #D97AF7
tetradic
#F7D97A #7AF79B #7A98F7 #F77AD6
square
#F7D97A #7AF79B #7A98F7 #F77AD6
split-complementary
#F7D97A #7AD6F7 #9B7AF7
monochromatic
#E9B40E #F4C940 #F7D97A #FAE9B4 #FDF7E2

Accessibility & contrast

On white

1.39
#F7D97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#F7D97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D97A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D97A#FFFFFF#000000##000000
##F7D97A1.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7d97a;
/* rgb */ color: rgb(247, 217, 122);
/* oklch */ color: oklch(89.1% 0.120 92.3);
Tailwind
colors: {
  custom: {
    50: '#fce4a2',
    500: '#f7d97a',
    950: '#000000',
  },
}
SCSS
$custom: #f7d97a;
$custom-light: #fce4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d97a",
  "rgb": {
    "r": 247,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 45.6,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89091,
    "c": 0.11966,
    "h": 92.3
  },
  "luminance": 0.70805
}

Semantic roles & 50–950 ramp

primary
#F7D97A
secondary
#4265D3
accent
#37E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F7D97A

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

Preview Lab → · Contrast checker → · Palette generator →

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