#F7F188#F7F188

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

Color values

HEX#F7F188
RGBrgb(247, 241, 136)
HSLhsl(57, 87%, 75%)
HSVhsv(57, 45%, 97%)
CMYKcmyk(0%, 2.4%, 44.9%, 3.1%)
CIE-LABlab(93.65, -12.13, 51.17)
CIE-LCHlch(93.65, 52.59, 103.33°)
OKLaboklab(94.11% -0.0345 0.1227)
OKLCHoklch(94.11% 0.127 105.7)
XYZxyz(74.2586, 84.4643, 35.6793)
Luminance0.8446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F188 #888EF7
analogous
#F7BA88 #F7F188 #C5F788
triadic
#F7F188 #88F7F1 #F188F7
tetradic
#F7F188 #88F7BA #888EF7 #F788C5
square
#F7F188 #88F7BA #888EF7 #F788C5
split-complementary
#F7F188 #88C5F7 #BA88F7
monochromatic
#EFE415 #F3EA4F #F7F188 #FBF8C1 #FDFCE2

Accessibility & contrast

On white

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

On black

17.89
#F7F188 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F188
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F188#FFFFFF#000000##000000
##F7F1881.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f188;
/* rgb */ color: rgb(247, 241, 136);
/* oklch */ color: oklch(94.1% 0.127 105.7);
Tailwind
colors: {
  custom: {
    50: '#fcf5ac',
    500: '#f7f188',
    950: '#000000',
  },
}
SCSS
$custom: #f7f188;
$custom-light: #fcf5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f188",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 136
  },
  "hsl": {
    "h": 56.757,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94105,
    "c": 0.12744,
    "h": 105.7
  },
  "luminance": 0.84462
}

Semantic roles & 50–950 ramp

primary
#F7F188
secondary
#4F56D5
accent
#0EE402
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F188

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

Preview Lab → · Contrast checker → · Palette generator →

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