#FFF792#FFF792

#FFF792 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.1% C 0.123 H 104.5°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#FFF792
RGBrgb(255, 247, 146)
HSLhsl(56, 100%, 79%)
HSVhsv(56, 43%, 100%)
CMYKcmyk(0%, 3.1%, 42.7%, 0%)
CIE-LABlab(95.94, -11.02, 49.36)
CIE-LCHlch(95.94, 50.57, 102.58°)
OKLaboklab(96.12% -0.0308 0.1192)
OKLCHoklch(96.12% 0.123 104.5)
XYZxyz(79.6907, 89.8590, 40.3352)
Luminance0.8986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF792 #929AFF
analogous
#FFC092 #FFF792 #D0FF92
triadic
#FFF792 #92FFF7 #F792FF
tetradic
#FFF792 #92FFC0 #929AFF #FF92D0
square
#FFF792 #92FFC0 #929AFF #FF92D0
split-complementary
#FFF792 #92D0FF #C092FF
monochromatic
#FFEE18 #FFF355 #FFF792 #FFFBCF #FFFDE0

Accessibility & contrast

On white

1.11
#FFF792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.97
#FFF792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF792
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF792#FFFFFF#000000##000000
##FFF7921.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08A
Deuteranopia (green-blind)
#FFF696
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff792;
/* rgb */ color: rgb(255, 247, 146);
/* oklch */ color: oklch(96.1% 0.123 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff9b3',
    500: '#fff792',
    950: '#000000',
  },
}
SCSS
$custom: #fff792;
$custom-light: #fff9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fff792",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 55.596,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.96115,
    "c": 0.1231,
    "h": 104.5
  },
  "luminance": 0.89857
}

Semantic roles & 50–950 ramp

primary
#FFF792
secondary
#545FE1
accent
#11E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFF792

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

Preview Lab → · Contrast checker → · Palette generator →

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