#F7F799#F7F799

#F7F799 is a very light, moderate yellow. Relative luminance 0.886; OKLCH L 95.6% C 0.116 H 108.4°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#F7F799
RGBrgb(247, 247, 153)
HSLhsl(60, 85%, 78%)
HSVhsv(60, 38%, 97%)
CMYKcmyk(0%, 0%, 38.1%, 3.1%)
CIE-LABlab(95.41, -13.37, 45.18)
CIE-LCHlch(95.41, 47.11, 106.49°)
OKLaboklab(95.58% -0.0367 0.1102)
OKLCHoklch(95.58% 0.116 108.4)
XYZxyz(77.3693, 88.5971, 43.1561)
Luminance0.8860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F799 #9999F7
analogous
#F7C899 #F7F799 #C8F799
triadic
#F7F799 #99F7F7 #F799F7
tetradic
#F7F799 #99F7C8 #9999F7 #F799C8
square
#F7F799 #99F7C8 #9999F7 #F799C8
split-complementary
#F7F799 #99C8F7 #C899F7
monochromatic
#EEEE27 #F3F360 #F7F799 #FBFBD2 #FDFDE3

Accessibility & contrast

On white

1.12
#F7F799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.72
#F7F799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F799
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F799#FFFFFF#000000##000000
##F7F7991.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF092
Deuteranopia (green-blind)
#FFF49D
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f799;
/* rgb */ color: rgb(247, 247, 153);
/* oklch */ color: oklch(95.6% 0.116 108.4);
Tailwind
colors: {
  custom: {
    50: '#fbf9b8',
    500: '#f7f799',
    950: '#000000',
  },
}
SCSS
$custom: #f7f799;
$custom-light: #fbf9b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f799",
  "rgb": {
    "r": 247,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 60,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95576,
    "c": 0.11612,
    "h": 108.4
  },
  "luminance": 0.88596
}

Semantic roles & 50–950 ramp

primary
#F7F799
secondary
#5E5ED6
accent
#04E204
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7F799

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

Preview Lab → · Contrast checker → · Palette generator →

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