#F7D975#F7D975

#F7D975 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 89.0% C 0.124 H 93.0°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#F7D975
RGBrgb(247, 217, 117)
HSLhsl(46, 89%, 71%)
HSVhsv(46, 53%, 97%)
CMYKcmyk(0%, 12.1%, 52.6%, 3.1%)
CIE-LABlab(87.33, -1.78, 52.55)
CIE-LCHlch(87.33, 52.58, 91.94°)
OKLaboklab(89.03% -0.0066 0.1242)
OKLCHoklch(89.03% 0.124 93)
XYZxyz(66.3840, 70.6872, 26.9735)
Luminance0.7068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D975 #7593F7
analogous
#F79875 #F7D975 #D4F775
triadic
#F7D975 #75F7D9 #D975F7
tetradic
#F7D975 #75F798 #7593F7 #F775D4
square
#F7D975 #75F798 #7593F7 #F775D4
split-complementary
#F7D975 #75D4F7 #9875F7
monochromatic
#E4B30D #F4C93B #F7D975 #FAE9AF #FDF7E2

Accessibility & contrast

On white

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

On black

15.14
#F7D975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D975
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D975#FFFFFF#000000##000000
##F7D9751.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66C
Deuteranopia (green-blind)
#F3DF79
Tritanopia (blue-blind)
#FFCBC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f7d975;
/* rgb */ color: rgb(247, 217, 117);
/* oklch */ color: oklch(89.0% 0.124 93.0);
Tailwind
colors: {
  custom: {
    50: '#fce49f',
    500: '#f7d975',
    950: '#000000',
  },
}
SCSS
$custom: #f7d975;
$custom-light: #fce49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d975",
  "rgb": {
    "r": 247,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 46.154,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89026,
    "c": 0.1244,
    "h": 93
  },
  "luminance": 0.70684
}

Semantic roles & 50–950 ramp

primary
#F7D975
secondary
#3E60D2
accent
#35E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F7D975

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

Preview Lab → · Contrast checker → · Palette generator →

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