#F7F489#F7F489

#F7F489 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.7% C 0.130 H 107.2°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#F7F489
RGBrgb(247, 244, 137)
HSLhsl(58, 87%, 75%)
HSVhsv(58, 45%, 97%)
CMYKcmyk(0%, 1.2%, 44.5%, 3.1%)
CIE-LABlab(94.43, -13.51, 51.65)
CIE-LCHlch(94.43, 53.39, 104.65°)
OKLaboklab(94.73% -0.0384 0.1238)
OKLCHoklch(94.73% 0.13 107.2)
XYZxyz(75.2253, 86.2835, 36.3537)
Luminance0.8628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F489 #898CF7
analogous
#F7BD89 #F7F489 #C3F789
triadic
#F7F489 #89F7F4 #F489F7
tetradic
#F7F489 #89F7BD #898CF7 #F789C3
square
#F7F489 #89F7BD #898CF7 #F789C3
split-complementary
#F7F489 #89C3F7 #BD89F7
monochromatic
#EFE916 #F3EF50 #F7F489 #FBF9C2 #FDFCE2

Accessibility & contrast

On white

1.15
#F7F489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#F7F489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F489
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F489#FFFFFF#000000##000000
##F7F4891.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC80
Deuteranopia (green-blind)
#FFF18E
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f489;
/* rgb */ color: rgb(247, 244, 137);
/* oklch */ color: oklch(94.7% 0.130 107.2);
Tailwind
colors: {
  custom: {
    50: '#fcf7ad',
    500: '#f7f489',
    950: '#000000',
  },
}
SCSS
$custom: #f7f489;
$custom-light: #fcf7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f489",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 137
  },
  "hsl": {
    "h": 58.364,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94731,
    "c": 0.12963,
    "h": 107.2
  },
  "luminance": 0.86282
}

Semantic roles & 50–950 ramp

primary
#F7F489
secondary
#5053D5
accent
#08E402
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F489

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

Preview Lab → · Contrast checker → · Palette generator →

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