#F7F160#F7F160

#F7F160 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.7% C 0.163 H 106.9°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#F7F160
RGBrgb(247, 241, 96)
HSLhsl(58, 90%, 67%)
HSVhsv(58, 61%, 97%)
CMYKcmyk(0%, 2.4%, 61.1%, 3.1%)
CIE-LABlab(93.25, -15.25, 68.56)
CIE-LCHlch(93.25, 70.24, 102.54°)
OKLaboklab(93.65% -0.0475 0.1562)
OKLCHoklch(93.65% 0.163 106.9)
XYZxyz(71.9268, 83.5316, 23.3984)
Luminance0.8353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F160 #6066F7
analogous
#F7A660 #F7F160 #B1F760
triadic
#F7F160 #60F7F1 #F160F7
tetradic
#F7F160 #60F7A6 #6066F7 #F760B1
square
#F7F160 #60F7A6 #6066F7 #F760B1
split-complementary
#F7F160 #60B1F7 #A660F7
monochromatic
#D2CA0B #F4EC26 #F7F160 #FAF69A #FDFBD5

Accessibility & contrast

On white

1.19
#F7F160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#F7F160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F160
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F160#FFFFFF#000000##000000
##F7F1601.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84E
Deuteranopia (green-blind)
#FFEE69
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f160;
/* rgb */ color: rgb(247, 241, 96);
/* oklch */ color: oklch(93.7% 0.163 106.9);
Tailwind
colors: {
  custom: {
    50: '#fdf593',
    500: '#f7f160',
    950: '#000000',
  },
}
SCSS
$custom: #f7f160;
$custom-light: #fdf593;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f160",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 96
  },
  "hsl": {
    "h": 57.616,
    "s": 90.419,
    "l": 67.255
  },
  "oklch": {
    "l": 0.93652,
    "c": 0.16327,
    "h": 106.9
  },
  "luminance": 0.83529
}

Semantic roles & 50–950 ramp

primary
#F7F160
secondary
#2E34CD
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F160

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

Preview Lab → · Contrast checker → · Palette generator →

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