#F7F189#F7F189

#F7F189 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.1% C 0.126 H 105.7°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#F7F189
RGBrgb(247, 241, 137)
HSLhsl(57, 87%, 75%)
HSVhsv(57, 45%, 97%)
CMYKcmyk(0%, 2.4%, 44.5%, 3.1%)
CIE-LABlab(93.66, -12.03, 50.71)
CIE-LCHlch(93.66, 52.12, 103.35°)
OKLaboklab(94.12% -0.0341 0.1217)
OKLCHoklch(94.12% 0.126 105.7)
XYZxyz(74.3300, 84.4928, 36.0553)
Luminance0.8449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F189 #898FF7
analogous
#F7BA89 #F7F189 #C6F789
triadic
#F7F189 #89F7F1 #F189F7
tetradic
#F7F189 #89F7BA #898FF7 #F789C6
square
#F7F189 #89F7BA #898FF7 #F789C6
split-complementary
#F7F189 #89C6F7 #BA89F7
monochromatic
#EFE316 #F3EA50 #F7F189 #FBF8C2 #FDFCE2

Accessibility & contrast

On white

1.17
#F7F189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.90
#F7F189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F189
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F189#FFFFFF#000000##000000
##F7F1891.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA80
Deuteranopia (green-blind)
#FFEF8E
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f189;
/* rgb */ color: rgb(247, 241, 137);
/* oklch */ color: oklch(94.1% 0.126 105.7);
Tailwind
colors: {
  custom: {
    50: '#fcf5ad',
    500: '#f7f189',
    950: '#000000',
  },
}
SCSS
$custom: #f7f189;
$custom-light: #fcf5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f189",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 137
  },
  "hsl": {
    "h": 56.727,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94119,
    "c": 0.12642,
    "h": 105.7
  },
  "luminance": 0.84491
}

Semantic roles & 50–950 ramp

primary
#F7F189
secondary
#5057D5
accent
#0EE402
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F189

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

Preview Lab → · Contrast checker → · Palette generator →

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