#F6EB87#F6EB87

#F6EB87 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.8% C 0.122 H 103.0°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#F6EB87
RGBrgb(246, 235, 135)
HSLhsl(54, 86%, 75%)
HSVhsv(54, 45%, 96%)
CMYKcmyk(0%, 4.5%, 45.1%, 3.5%)
CIE-LABlab(92.03, -9.64, 49.63)
CIE-LCHlch(92.03, 50.56, 101.00°)
OKLaboklab(92.79% -0.0274 0.1192)
OKLCHoklch(92.79% 0.122 103)
XYZxyz(72.0892, 80.7609, 34.7080)
Luminance0.8076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EB87 #8792F6
analogous
#F6B487 #F6EB87 #CAF687
triadic
#F6EB87 #87F6EB #EB87F6
tetradic
#F6EB87 #87F6B4 #8792F6 #F687CA
square
#F6EB87 #87F6B4 #8792F6 #F687CA
split-complementary
#F6EB87 #87CAF6 #B487F6
monochromatic
#EDD815 #F2E24E #F6EB87 #FAF4C0 #FDFAE3

Accessibility & contrast

On white

1.22
#F6EB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.15
#F6EB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EB87
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EB87#FFFFFF#000000##000000
##F6EB871.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE57F
Deuteranopia (green-blind)
#FFEB8B
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f6eb87;
/* rgb */ color: rgb(246, 235, 135);
/* oklch */ color: oklch(92.8% 0.122 103.0);
Tailwind
colors: {
  custom: {
    50: '#fbf1ac',
    500: '#f6eb87',
    950: '#000000',
  },
}
SCSS
$custom: #f6eb87;
$custom-light: #fbf1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f6eb87",
  "rgb": {
    "r": 246,
    "g": 235,
    "b": 135
  },
  "hsl": {
    "h": 54.054,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92791,
    "c": 0.1223,
    "h": 103
  },
  "luminance": 0.80759
}

Semantic roles & 50–950 ramp

primary
#F6EB87
secondary
#4E5BD3
accent
#19E303
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F6EB87

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

Preview Lab → · Contrast checker → · Palette generator →

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