#F7F16C#F7F16C

#F7F16C is a very light, vivid yellow. Relative luminance 0.838; 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#F7F16C
RGBrgb(247, 241, 108)
HSLhsl(57, 90%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 2.4%, 56.3%, 3.1%)
CIE-LABlab(93.35, -14.45, 63.61)
CIE-LCHlch(93.35, 65.23, 102.79°)
OKLaboklab(93.77% -0.0439 0.1472)
OKLCHoklch(93.77% 0.154 106.6)
XYZxyz(72.5220, 83.7697, 26.5334)
Luminance0.8377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F16C #6C72F7
analogous
#F7AC6C #F7F16C #B8F76C
triadic
#F7F16C #6CF7F1 #F16CF7
tetradic
#F7F16C #6CF7AC #6C72F7 #F76CB8
square
#F7F16C #6CF7AC #6C72F7 #F76CB8
split-complementary
#F7F16C #6CB8F7 #AC6CF7
monochromatic
#DDD40C #F4EB32 #F7F16C #FAF7A6 #FDFCE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7F16C#FFFFFF#000000##000000
##F7F16C1.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)
#FFE95E
Deuteranopia (green-blind)
#FFEF73
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f16c;
/* rgb */ color: rgb(247, 241, 108);
/* oklch */ color: oklch(93.8% 0.154 106.6);
Tailwind
colors: {
  custom: {
    50: '#fdf59a',
    500: '#f7f16c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f16c;
$custom-light: #fdf59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f16c",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 108
  },
  "hsl": {
    "h": 57.41,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93768,
    "c": 0.15363,
    "h": 106.6
  },
  "luminance": 0.83767
}

Semantic roles & 50–950 ramp

primary
#F7F16C
secondary
#363DD1
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F16C

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

Preview Lab → · Contrast checker → · Palette generator →

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