#F7F288#F7F288

#F7F288 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.3% C 0.129 H 106.2°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#F7F288
RGBrgb(247, 242, 136)
HSLhsl(57, 87%, 75%)
HSVhsv(57, 45%, 97%)
CMYKcmyk(0%, 2%, 44.9%, 3.1%)
CIE-LABlab(93.91, -12.62, 51.48)
CIE-LCHlch(93.91, 53.01, 103.77°)
OKLaboklab(94.31% -0.0359 0.1234)
OKLCHoklch(94.31% 0.129 106.2)
XYZxyz(74.5554, 85.0579, 35.7782)
Luminance0.8506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F288 #888DF7
analogous
#F7BA88 #F7F288 #C5F788
triadic
#F7F288 #88F7F2 #F288F7
tetradic
#F7F288 #88F7BA #888DF7 #F788C5
square
#F7F288 #88F7BA #888DF7 #F788C5
split-complementary
#F7F288 #88C5F7 #BA88F7
monochromatic
#EFE515 #F3EC4F #F7F288 #FBF8C1 #FDFCE2

Accessibility & contrast

On white

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

On black

18.01
#F7F288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F288
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F288#FFFFFF#000000##000000
##F7F2881.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7F
Deuteranopia (green-blind)
#FFF08D
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f288;
/* rgb */ color: rgb(247, 242, 136);
/* oklch */ color: oklch(94.3% 0.129 106.2);
Tailwind
colors: {
  custom: {
    50: '#fcf6ac',
    500: '#f7f288',
    950: '#000000',
  },
}
SCSS
$custom: #f7f288;
$custom-light: #fcf6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f288",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 57.297,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94309,
    "c": 0.1285,
    "h": 106.2
  },
  "luminance": 0.85056
}

Semantic roles & 50–950 ramp

primary
#F7F288
secondary
#4F55D5
accent
#0CE402
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F288

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

Preview Lab → · Contrast checker → · Palette generator →

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