#F7F589#F7F589

#F7F589 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.131 H 107.7°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#F7F589
RGBrgb(247, 245, 137)
HSLhsl(59, 87%, 75%)
HSVhsv(59, 45%, 97%)
CMYKcmyk(0%, 0.8%, 44.5%, 3.1%)
CIE-LABlab(94.69, -14.00, 51.97)
CIE-LCHlch(94.69, 53.82, 105.07°)
OKLaboklab(94.94% -0.0398 0.1245)
OKLCHoklch(94.94% 0.131 107.7)
XYZxyz(75.5270, 86.8869, 36.4543)
Luminance0.8689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F589 #898BF7
analogous
#F7BE89 #F7F589 #C2F789
triadic
#F7F589 #89F7F5 #F589F7
tetradic
#F7F589 #89F7BE #898BF7 #F789C2
square
#F7F589 #89F7BE #898BF7 #F789C2
split-complementary
#F7F589 #89C2F7 #BE89F7
monochromatic
#EFEB16 #F3F050 #F7F589 #FBFAC2 #FDFDE2

Accessibility & contrast

On white

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

On black

18.38
#F7F589 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F589
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F589#FFFFFF#000000##000000
##F7F5891.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED80
Deuteranopia (green-blind)
#FFF28E
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f7f589;
/* rgb */ color: rgb(247, 245, 137);
/* oklch */ color: oklch(94.9% 0.131 107.7);
Tailwind
colors: {
  custom: {
    50: '#fcf8ad',
    500: '#f7f589',
    950: '#000000',
  },
}
SCSS
$custom: #f7f589;
$custom-light: #fcf8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f589",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 137
  },
  "hsl": {
    "h": 58.909,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94935,
    "c": 0.13072,
    "h": 107.7
  },
  "luminance": 0.86885
}

Semantic roles & 50–950 ramp

primary
#F7F589
secondary
#5052D5
accent
#06E402
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F589

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

Preview Lab → · Contrast checker → · Palette generator →

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