#F7FA7B#F7FA7B

#F7FA7B is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.150 H 110.1°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#F7FA7B
RGBrgb(247, 250, 123)
HSLhsl(61, 93%, 73%)
HSVhsv(61, 51%, 98%)
CMYKcmyk(1.2%, 0%, 50.8%, 2%)
CIE-LABlab(95.82, -17.66, 59.80)
CIE-LCHlch(95.82, 62.35, 106.45°)
OKLaboklab(95.78% -0.0516 0.1406)
OKLCHoklch(95.78% 0.15 110.1)
XYZxyz(76.1203, 89.5771, 32.0153)
Luminance0.8958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FA7B #7E7BFA
analogous
#FABD7B #F7FA7B #B7FA7B
triadic
#F7FA7B #7BF7FA #FA7BF7
tetradic
#F7FA7B #7BFABD #7E7BFA #FA7BB7
square
#F7FA7B #7BFABD #7E7BFA #FA7BB7
split-complementary
#F7FA7B #7BB7FA #BD7BFA
monochromatic
#ECF109 #F3F840 #F7FA7B #FBFCB6 #FDFEE2

Accessibility & contrast

On white

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

On black

18.92
#F7FA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FA7B
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FA7B#FFFFFF#000000##000000
##F7FA7B1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16F
Deuteranopia (green-blind)
#FFF582
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f7fa7b;
/* rgb */ color: rgb(247, 250, 123);
/* oklch */ color: oklch(95.8% 0.150 110.1);
Tailwind
colors: {
  custom: {
    50: '#fcfba4',
    500: '#f7fa7b',
    950: '#000000',
  },
}
SCSS
$custom: #f7fa7b;
$custom-light: #fcfba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fa7b",
  "rgb": {
    "r": 247,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 61.417,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95784,
    "c": 0.14973,
    "h": 110.1
  },
  "luminance": 0.89575
}

Semantic roles & 50–950 ramp

primary
#F7FA7B
secondary
#4642D7
accent
#00E605
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7FA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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