#F6F287#F6F287

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

Color values

HEX#F6F287
RGBrgb(246, 242, 135)
HSLhsl(58, 86%, 75%)
HSVhsv(58, 45%, 96%)
CMYKcmyk(0%, 1.6%, 45.1%, 3.5%)
CIE-LABlab(93.82, -13.10, 51.83)
CIE-LCHlch(93.82, 53.46, 104.19°)
OKLaboklab(94.21% -0.0373 0.1241)
OKLCHoklch(94.21% 0.13 106.7)
XYZxyz(74.1329, 84.8482, 35.3892)
Luminance0.8485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F287 #878BF6
analogous
#F6BB87 #F6F287 #C3F687
triadic
#F6F287 #87F6F2 #F287F6
tetradic
#F6F287 #87F6BB #878BF6 #F687C3
square
#F6F287 #87F6BB #878BF6 #F687C3
split-complementary
#F6F287 #87C3F6 #BB87F6
monochromatic
#EDE615 #F2EC4E #F6F287 #FAF8C0 #FDFCE3

Accessibility & contrast

On white

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

On black

17.97
#F6F287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F287
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F287#FFFFFF#000000##000000
##F6F2871.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f287;
/* rgb */ color: rgb(246, 242, 135);
/* oklch */ color: oklch(94.2% 0.130 106.7);
Tailwind
colors: {
  custom: {
    50: '#fbf6ac',
    500: '#f6f287',
    950: '#000000',
  },
}
SCSS
$custom: #f6f287;
$custom-light: #fbf6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f287",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 135
  },
  "hsl": {
    "h": 57.838,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94214,
    "c": 0.12959,
    "h": 106.7
  },
  "luminance": 0.84846
}

Semantic roles & 50–950 ramp

primary
#F6F287
secondary
#4E53D3
accent
#0BE303
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6F287

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

Preview Lab → · Contrast checker → · Palette generator →

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