#F5F792#F5F792

#F5F792 is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.3% C 0.124 H 109.5°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#F5F792
RGBrgb(245, 247, 146)
HSLhsl(61, 86%, 77%)
HSVhsv(61, 41%, 97%)
CMYKcmyk(0.8%, 0%, 40.9%, 3.1%)
CIE-LABlab(95.17, -14.86, 48.23)
CIE-LCHlch(95.17, 50.46, 107.13°)
OKLaboklab(95.31% -0.0414 0.1167)
OKLCHoklch(95.31% 0.124 109.5)
XYZxyz(76.1064, 88.0108, 40.1672)
Luminance0.8801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F792 #9492F7
analogous
#F7C792 #F5F792 #C3F792
triadic
#F5F792 #92F5F7 #F792F5
tetradic
#F5F792 #92F7C7 #9492F7 #F792C3
square
#F5F792 #92F7C7 #9492F7 #F792C3
split-complementary
#F5F792 #92C3F7 #C792F7
monochromatic
#EBEF20 #F0F359 #F5F792 #FAFBCB #FCFDE2

Accessibility & contrast

On white

1.13
#F5F792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.60
#F5F792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F792
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F792#FFFFFF#000000##000000
##F5F7921.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.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: #f5f792;
/* rgb */ color: rgb(245, 247, 146);
/* oklch */ color: oklch(95.3% 0.124 109.5);
Tailwind
colors: {
  custom: {
    50: '#faf9b3',
    500: '#f5f792',
    950: '#000000',
  },
}
SCSS
$custom: #f5f792;
$custom-light: #faf9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f792",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 61.188,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95313,
    "c": 0.12385,
    "h": 109.5
  },
  "luminance": 0.88009
}

Semantic roles & 50–950 ramp

primary
#F5F792
secondary
#5A58D6
accent
#03E307
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5F792

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

Preview Lab → · Contrast checker → · Palette generator →

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