#F7FB8A#F7FB8A

#F7FB8A is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.2% C 0.136 H 110.5°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#F7FB8A
RGBrgb(247, 251, 138)
HSLhsl(62, 93%, 76%)
HSVhsv(62, 45%, 98%)
CMYKcmyk(1.6%, 0%, 45%, 1.6%)
CIE-LABlab(96.25, -16.82, 53.40)
CIE-LCHlch(96.25, 55.99, 107.48°)
OKLaboklab(96.18% -0.0478 0.1278)
OKLCHoklch(96.18% 0.136 110.5)
XYZxyz(77.4437, 90.6050, 37.4487)
Luminance0.9060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FB8A #8E8AFB
analogous
#FBC78A #F7FB8A #BFFB8A
triadic
#F7FB8A #8AF7FB #FB8AF7
tetradic
#F7FB8A #8AFBC7 #8E8AFB #FB8ABF
square
#F7FB8A #8AFBC7 #8E8AFB #FB8ABF
split-complementary
#F7FB8A #8ABFFB #C78AFB
monochromatic
#EFF714 #F3F94F #F7FB8A #FBFDC5 #FDFEE1

Accessibility & contrast

On white

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

On black

19.12
#F7FB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FB8A
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FB8A#FFFFFF#000000##000000
##F7FB8A1.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF280
Deuteranopia (green-blind)
#FFF68F
Tritanopia (blue-blind)
#FFEFE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f7fb8a;
/* rgb */ color: rgb(247, 251, 138);
/* oklch */ color: oklch(96.2% 0.136 110.5);
Tailwind
colors: {
  custom: {
    50: '#fcfcae',
    500: '#f7fb8a',
    950: '#000000',
  },
}
SCSS
$custom: #f7fb8a;
$custom-light: #fcfcae;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fb8a",
  "rgb": {
    "r": 247,
    "g": 251,
    "b": 138
  },
  "hsl": {
    "h": 62.124,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.96178,
    "c": 0.1364,
    "h": 110.5
  },
  "luminance": 0.90603
}

Semantic roles & 50–950 ramp

primary
#F7FB8A
secondary
#544FDA
accent
#00E608
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7FB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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