#F7F591#F7F591

#F7F591 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.122 H 107.5°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#F7F591
RGBrgb(247, 245, 145)
HSLhsl(59, 86%, 77%)
HSVhsv(59, 41%, 97%)
CMYKcmyk(0%, 0.8%, 41.3%, 3.1%)
CIE-LABlab(94.79, -13.22, 48.27)
CIE-LCHlch(94.79, 50.05, 105.31°)
OKLaboklab(95.05% -0.0368 0.1168)
OKLCHoklch(95.05% 0.122 107.5)
XYZxyz(76.1223, 87.1250, 39.5894)
Luminance0.8712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F591 #9193F7
analogous
#F7C291 #F7F591 #C6F791
triadic
#F7F591 #91F7F5 #F591F7
tetradic
#F7F591 #91F7C2 #9193F7 #F791C6
square
#F7F591 #91F7C2 #9193F7 #F791C6
split-complementary
#F7F591 #91C6F7 #C291F7
monochromatic
#EFEB1F #F3F058 #F7F591 #FBFACA #FDFCE2

Accessibility & contrast

On white

1.14
#F7F591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#F7F591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F591
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F591#FFFFFF#000000##000000
##F7F5911.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE89
Deuteranopia (green-blind)
#FFF295
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f7f591;
/* rgb */ color: rgb(247, 245, 145);
/* oklch */ color: oklch(95.0% 0.122 107.5);
Tailwind
colors: {
  custom: {
    50: '#fbf8b3',
    500: '#f7f591',
    950: '#000000',
  },
}
SCSS
$custom: #f7f591;
$custom-light: #fbf8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f591",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 145
  },
  "hsl": {
    "h": 58.824,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.95048,
    "c": 0.12244,
    "h": 107.5
  },
  "luminance": 0.87123
}

Semantic roles & 50–950 ramp

primary
#F7F591
secondary
#5759D6
accent
#07E303
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7F591

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

Preview Lab → · Contrast checker → · Palette generator →

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