#F6F487#F6F487

#F6F487 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.6% C 0.132 H 107.7°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#F6F487
RGBrgb(246, 244, 135)
HSLhsl(59, 86%, 75%)
HSVhsv(59, 45%, 96%)
CMYKcmyk(0%, 0.8%, 45.1%, 3.5%)
CIE-LABlab(94.33, -14.08, 52.46)
CIE-LCHlch(94.33, 54.32, 105.03°)
OKLaboklab(94.62% -0.0401 0.1255)
OKLCHoklch(94.62% 0.132 107.7)
XYZxyz(74.7314, 86.0453, 35.5887)
Luminance0.8604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F487 #8789F6
analogous
#F6BD87 #F6F487 #C1F687
triadic
#F6F487 #87F6F4 #F487F6
tetradic
#F6F487 #87F6BD #8789F6 #F687C1
square
#F6F487 #87F6BD #8789F6 #F687C1
split-complementary
#F6F487 #87C1F6 #BD87F6
monochromatic
#EDEA15 #F2EF4E #F6F487 #FAF9C0 #FDFCE3

Accessibility & contrast

On white

1.15
#F6F487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#F6F487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F487
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F487#FFFFFF#000000##000000
##F6F4871.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FFF18C
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f6f487;
/* rgb */ color: rgb(246, 244, 135);
/* oklch */ color: oklch(94.6% 0.132 107.7);
Tailwind
colors: {
  custom: {
    50: '#fbf7ac',
    500: '#f6f487',
    950: '#000000',
  },
}
SCSS
$custom: #f6f487;
$custom-light: #fbf7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f487",
  "rgb": {
    "r": 246,
    "g": 244,
    "b": 135
  },
  "hsl": {
    "h": 58.919,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94623,
    "c": 0.13175,
    "h": 107.7
  },
  "luminance": 0.86043
}

Semantic roles & 50–950 ramp

primary
#F6F487
secondary
#4E50D3
accent
#07E303
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6F487

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

Preview Lab → · Contrast checker → · Palette generator →

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