#F7D861#F7D861

#F7D861 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.6% C 0.141 H 94.7°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#F7D861
RGBrgb(247, 216, 97)
HSLhsl(48, 90%, 67%)
HSVhsv(48, 61%, 97%)
CMYKcmyk(0%, 12.6%, 60.7%, 3.1%)
CIE-LABlab(86.88, -2.74, 61.19)
CIE-LCHlch(86.88, 61.25, 92.57°)
OKLaboklab(88.6% -0.0116 0.1407)
OKLCHoklch(88.6% 0.141 94.7)
XYZxyz(65.0742, 69.7522, 21.3428)
Luminance0.6975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D861 #6180F7
analogous
#F78D61 #F7D861 #CBF761
triadic
#F7D861 #61F7D8 #D861F7
tetradic
#F7D861 #61F78D #6180F7 #F761CB
square
#F7D861 #61F78D #6180F7 #F761CB
split-complementary
#F7D861 #61CBF7 #8D61F7
monochromatic
#D3AA0B #F4CA27 #F7D861 #FAE69B #FDF5D6

Accessibility & contrast

On white

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

On black

14.95
#F7D861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D861
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D861#FFFFFF#000000##000000
##F7D8611.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD454
Deuteranopia (green-blind)
#F4DE67
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d861;
/* rgb */ color: rgb(247, 216, 97);
/* oklch */ color: oklch(88.6% 0.141 94.7);
Tailwind
colors: {
  custom: {
    50: '#fde392',
    500: '#f7d861',
    950: '#000000',
  },
}
SCSS
$custom: #f7d861;
$custom-light: #fde392;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d861",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 47.6,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88598,
    "c": 0.14117,
    "h": 94.7
  },
  "luminance": 0.69749
}

Semantic roles & 50–950 ramp

primary
#F7D861
secondary
#2E4FCE
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D861

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

Preview Lab → · Contrast checker → · Palette generator →

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