#F7F16B#F7F16B

#F7F16B is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.8% C 0.154 H 106.6°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#F7F16B
RGBrgb(247, 241, 107)
HSLhsl(57, 90%, 69%)
HSVhsv(57, 57%, 97%)
CMYKcmyk(0%, 2.4%, 56.7%, 3.1%)
CIE-LABlab(93.34, -14.52, 64.04)
CIE-LCHlch(93.34, 65.66, 102.77°)
OKLaboklab(93.76% -0.0442 0.148)
OKLCHoklch(93.76% 0.154 106.6)
XYZxyz(72.4691, 83.7485, 26.2547)
Luminance0.8375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F16B #6B71F7
analogous
#F7AB6B #F7F16B #B7F76B
triadic
#F7F16B #6BF7F1 #F16BF7
tetradic
#F7F16B #6BF7AB #6B71F7 #F76BB7
square
#F7F16B #6BF7AB #6B71F7 #F76BB7
split-complementary
#F7F16B #6BB7F7 #AB6BF7
monochromatic
#DCD30C #F4EC31 #F7F16B #FAF6A5 #FDFCDF

Accessibility & contrast

On white

1.18
#F7F16B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.75
#F7F16B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F16B
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F16B#FFFFFF#000000##000000
##F7F16B1.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95D
Deuteranopia (green-blind)
#FFEE72
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f16b;
/* rgb */ color: rgb(247, 241, 107);
/* oklch */ color: oklch(93.8% 0.154 106.6);
Tailwind
colors: {
  custom: {
    50: '#fdf59a',
    500: '#f7f16b',
    950: '#000000',
  },
}
SCSS
$custom: #f7f16b;
$custom-light: #fdf59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f16b",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 107
  },
  "hsl": {
    "h": 57.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93758,
    "c": 0.15446,
    "h": 106.6
  },
  "luminance": 0.83746
}

Semantic roles & 50–950 ramp

primary
#F7F16B
secondary
#353CD1
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F16B

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

Preview Lab → · Contrast checker → · Palette generator →

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