#F6F288#F6F288

#F6F288 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.129 H 106.7°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#F6F288
RGBrgb(246, 242, 136)
HSLhsl(58, 86%, 75%)
HSVhsv(58, 45%, 96%)
CMYKcmyk(0%, 1.6%, 44.7%, 3.5%)
CIE-LABlab(93.83, -13.01, 51.37)
CIE-LCHlch(93.83, 52.99, 104.21°)
OKLaboklab(94.23% -0.037 0.1231)
OKLCHoklch(94.23% 0.129 106.7)
XYZxyz(74.2036, 84.8765, 35.7617)
Luminance0.8488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F288 #888CF6
analogous
#F6BB88 #F6F288 #C3F688
triadic
#F6F288 #88F6F2 #F288F6
tetradic
#F6F288 #88F6BB #888CF6 #F688C3
square
#F6F288 #88F6BB #888CF6 #F688C3
split-complementary
#F6F288 #88C3F6 #BB88F6
monochromatic
#EDE616 #F2EC4F #F6F288 #FAF8C1 #FDFCE3

Accessibility & contrast

On white

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

On black

17.98
#F6F288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F288
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F288#FFFFFF#000000##000000
##F6F2881.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f288;
/* rgb */ color: rgb(246, 242, 136);
/* oklch */ color: oklch(94.2% 0.129 106.7);
Tailwind
colors: {
  custom: {
    50: '#fbf6ac',
    500: '#f6f288',
    950: '#000000',
  },
}
SCSS
$custom: #f6f288;
$custom-light: #fbf6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f288",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 57.818,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94228,
    "c": 0.12857,
    "h": 106.7
  },
  "luminance": 0.84875
}

Semantic roles & 50–950 ramp

primary
#F6F288
secondary
#4F54D3
accent
#0BE203
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6F288

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

Preview Lab → · Contrast checker → · Palette generator →

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