#F7F789#F7F789

#F7F789 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.3% C 0.133 H 108.7°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#F7F789
RGBrgb(247, 247, 137)
HSLhsl(60, 87%, 75%)
HSVhsv(60, 45%, 97%)
CMYKcmyk(0%, 0%, 44.5%, 3.1%)
CIE-LABlab(95.20, -14.97, 52.60)
CIE-LCHlch(95.20, 54.69, 105.89°)
OKLaboklab(95.34% -0.0426 0.1259)
OKLCHoklch(95.34% 0.133 108.7)
XYZxyz(76.1354, 88.1035, 36.6571)
Luminance0.8810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F789 #8989F7
analogous
#F7C089 #F7F789 #C0F789
triadic
#F7F789 #89F7F7 #F789F7
tetradic
#F7F789 #89F7C0 #8989F7 #F789C0
square
#F7F789 #89F7C0 #8989F7 #F789C0
split-complementary
#F7F789 #89C0F7 #C089F7
monochromatic
#EFEF16 #F3F350 #F7F789 #FBFBC2 #FDFDE2

Accessibility & contrast

On white

1.13
#F7F789 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.62
#F7F789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F789
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F789#FFFFFF#000000##000000
##F7F7891.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF80
Deuteranopia (green-blind)
#FFF38E
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f789;
/* rgb */ color: rgb(247, 247, 137);
/* oklch */ color: oklch(95.3% 0.133 108.7);
Tailwind
colors: {
  custom: {
    50: '#fcf9ad',
    500: '#f7f789',
    950: '#000000',
  },
}
SCSS
$custom: #f7f789;
$custom-light: #fcf9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f789",
  "rgb": {
    "r": 247,
    "g": 247,
    "b": 137
  },
  "hsl": {
    "h": 60,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95344,
    "c": 0.13292,
    "h": 108.7
  },
  "luminance": 0.88102
}

Semantic roles & 50–950 ramp

primary
#F7F789
secondary
#5050D5
accent
#02E402
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F789

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

Preview Lab → · Contrast checker → · Palette generator →

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