#F7F792#F7F792

#F7F792 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.5% C 0.124 H 108.5°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#F7F792
RGBrgb(247, 247, 146)
HSLhsl(60, 86%, 77%)
HSVhsv(60, 41%, 97%)
CMYKcmyk(0%, 0%, 40.9%, 3.1%)
CIE-LABlab(95.32, -14.10, 48.45)
CIE-LCHlch(95.32, 50.46, 106.22°)
OKLaboklab(95.47% -0.0393 0.1172)
OKLCHoklch(95.47% 0.124 108.5)
XYZxyz(76.8081, 88.3726, 40.2001)
Luminance0.8837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F792 #9292F7
analogous
#F7C592 #F7F792 #C5F792
triadic
#F7F792 #92F7F7 #F792F7
tetradic
#F7F792 #92F7C5 #9292F7 #F792C5
square
#F7F792 #92F7C5 #9292F7 #F792C5
split-complementary
#F7F792 #92C5F7 #C592F7
monochromatic
#EFEF20 #F3F359 #F7F792 #FBFBCB #FDFDE2

Accessibility & contrast

On white

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

On black

18.67
#F7F792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F792
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F792#FFFFFF#000000##000000
##F7F7921.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8A
Deuteranopia (green-blind)
#FFF397
Tritanopia (blue-blind)
#FFECDF
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f792;
/* rgb */ color: rgb(247, 247, 146);
/* oklch */ color: oklch(95.5% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#fbf9b3',
    500: '#f7f792',
    950: '#000000',
  },
}
SCSS
$custom: #f7f792;
$custom-light: #fbf9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f792",
  "rgb": {
    "r": 247,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 60,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95471,
    "c": 0.12363,
    "h": 108.5
  },
  "luminance": 0.88371
}

Semantic roles & 50–950 ramp

primary
#F7F792
secondary
#5858D6
accent
#03E303
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7F792

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

Preview Lab → · Contrast checker → · Palette generator →

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