#F7D960#F7D960

#F7D960 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.143 H 95.4°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#F7D960
RGBrgb(247, 217, 96)
HSLhsl(48, 90%, 67%)
HSVhsv(48, 61%, 97%)
CMYKcmyk(0%, 12.1%, 61.1%, 3.1%)
CIE-LABlab(87.12, -3.32, 61.90)
CIE-LCHlch(87.12, 61.99, 93.07°)
OKLaboklab(88.79% -0.0134 0.1421)
OKLCHoklch(88.79% 0.143 95.4)
XYZxyz(65.2848, 70.2476, 21.1844)
Luminance0.7024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D960 #607EF7
analogous
#F78D60 #F7D960 #CAF760
triadic
#F7D960 #60F7D9 #D960F7
tetradic
#F7D960 #60F78D #607EF7 #F760CA
square
#F7D960 #60F78D #607EF7 #F760CA
split-complementary
#F7D960 #60CAF7 #8D60F7
monochromatic
#D2AA0B #F4CB26 #F7D960 #FAE79A #FDF5D5

Accessibility & contrast

On white

1.40
#F7D960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#F7D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D960
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D960#FFFFFF#000000##000000
##F7D9601.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD553
Deuteranopia (green-blind)
#F5DE66
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d960;
/* rgb */ color: rgb(247, 217, 96);
/* oklch */ color: oklch(88.8% 0.143 95.4);
Tailwind
colors: {
  custom: {
    50: '#fde491',
    500: '#f7d960',
    950: '#000000',
  },
}
SCSS
$custom: #f7d960;
$custom-light: #fde491;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d960",
  "rgb": {
    "r": 247,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 48.079,
    "s": 90.419,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88787,
    "c": 0.14269,
    "h": 95.4
  },
  "luminance": 0.70244
}

Semantic roles & 50–950 ramp

primary
#F7D960
secondary
#2E4ECD
accent
#2EE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D960

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

Preview Lab → · Contrast checker → · Palette generator →

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