#F7FC7B#F7FC7B

#F7FC7B is a very light, vivid yellow. Relative luminance 0.908; OKLCH L 96.2% C 0.152 H 110.9°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#F7FC7B
RGBrgb(247, 252, 123)
HSLhsl(62, 96%, 74%)
HSVhsv(62, 51%, 99%)
CMYKcmyk(2%, 0%, 51.2%, 1.2%)
CIE-LABlab(96.34, -18.62, 60.41)
CIE-LCHlch(96.34, 63.21, 107.14°)
OKLaboklab(96.2% -0.0543 0.1419)
OKLCHoklch(96.2% 0.152 110.9)
XYZxyz(76.7450, 90.8267, 32.2236)
Luminance0.9083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FC7B #807BFC
analogous
#FCC07B #F7FC7B #B6FC7B
triadic
#F7FC7B #7BF7FC #FC7BF7
tetradic
#F7FC7B #7BFCC0 #807BFC #FC7BB6
square
#F7FC7B #7BFCC0 #807BFC #FC7BB6
split-complementary
#F7FC7B #7BB6FC #C07BFC
monochromatic
#EEF706 #F3FB3F #F7FC7B #FBFDB7 #FDFEE1

Accessibility & contrast

On white

1.10
#F7FC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.17
#F7FC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FC7B
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FC7B#FFFFFF#000000##000000
##F7FC7B1.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26F
Deuteranopia (green-blind)
#FFF682
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f7fc7b;
/* rgb */ color: rgb(247, 252, 123);
/* oklch */ color: oklch(96.2% 0.152 110.9);
Tailwind
colors: {
  custom: {
    50: '#fcfda4',
    500: '#f7fc7b',
    950: '#000000',
  },
}
SCSS
$custom: #f7fc7b;
$custom-light: #fcfda4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fc7b",
  "rgb": {
    "r": 247,
    "g": 252,
    "b": 123
  },
  "hsl": {
    "h": 62.326,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.96197,
    "c": 0.15192,
    "h": 110.9
  },
  "luminance": 0.90825
}

Semantic roles & 50–950 ramp

primary
#F7FC7B
secondary
#4842D9
accent
#00E609
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7FC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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