#F7F989#F7F989

#F7F989 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.8% C 0.135 H 109.6°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#F7F989
RGBrgb(247, 249, 137)
HSLhsl(61, 90%, 76%)
HSVhsv(61, 45%, 98%)
CMYKcmyk(0.8%, 0%, 45%, 2.4%)
CIE-LABlab(95.72, -15.95, 53.23)
CIE-LCHlch(95.72, 55.57, 106.68°)
OKLaboklab(95.75% -0.0453 0.1273)
OKLCHoklch(95.75% 0.135 109.6)
XYZxyz(76.7502, 89.3333, 36.8620)
Luminance0.8933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F989 #8B89F9
analogous
#F9C389 #F7F989 #BFF989
triadic
#F7F989 #89F7F9 #F989F7
tetradic
#F7F989 #89F9C3 #8B89F9 #F989BF
square
#F7F989 #89F9C3 #8B89F9 #F989BF
split-complementary
#F7F989 #89BFF9 #C389F9
monochromatic
#EFF315 #F3F64F #F7F989 #FBFCC3 #FDFEE2

Accessibility & contrast

On white

1.11
#F7F989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.87
#F7F989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F989
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F989#FFFFFF#000000##000000
##F7F9891.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17F
Deuteranopia (green-blind)
#FFF58E
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f7f989;
/* rgb */ color: rgb(247, 249, 137);
/* oklch */ color: oklch(95.8% 0.135 109.6);
Tailwind
colors: {
  custom: {
    50: '#fcfbad',
    500: '#f7f989',
    950: '#000000',
  },
}
SCSS
$custom: #f7f989;
$custom-light: #fcfbad;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f989",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 61.071,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.95754,
    "c": 0.13514,
    "h": 109.6
  },
  "luminance": 0.89332
}

Semantic roles & 50–950 ramp

primary
#F7F989
secondary
#514FD7
accent
#00E604
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F989

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

Preview Lab → · Contrast checker → · Palette generator →

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