#F6E786#F6E786

#F6E786 is a very light, moderate yellow. Relative luminance 0.785; OKLCH L 92.0% C 0.119 H 100.6°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#F6E786
RGBrgb(246, 231, 134)
HSLhsl(52, 86%, 75%)
HSVhsv(52, 46%, 96%)
CMYKcmyk(0%, 6.1%, 45.5%, 3.5%)
CIE-LABlab(90.99, -7.75, 48.84)
CIE-LCHlch(90.99, 49.45, 99.01°)
OKLaboklab(91.97% -0.022 0.1174)
OKLCHoklch(91.97% 0.119 100.6)
XYZxyz(70.8868, 78.4682, 33.9615)
Luminance0.7847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E786 #8695F6
analogous
#F6AF86 #F6E786 #CDF686
triadic
#F6E786 #86F6E7 #E786F6
tetradic
#F6E786 #86F6AF #8695F6 #F686CD
square
#F6E786 #86F6AF #8695F6 #F686CD
split-complementary
#F6E786 #86CDF6 #AF86F6
monochromatic
#EED014 #F2DC4D #F6E786 #FAF2BF #FDF9E3

Accessibility & contrast

On white

1.26
#F6E786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#F6E786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E786
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E786#FFFFFF#000000##000000
##F6E7861.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E27E
Deuteranopia (green-blind)
#FCE88A
Tritanopia (blue-blind)
#FFDBD0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f6e786;
/* rgb */ color: rgb(246, 231, 134);
/* oklch */ color: oklch(92.0% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#fbeeab',
    500: '#f6e786',
    950: '#000000',
  },
}
SCSS
$custom: #f6e786;
$custom-light: #fbeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e786",
  "rgb": {
    "r": 246,
    "g": 231,
    "b": 134
  },
  "hsl": {
    "h": 51.964,
    "s": 86.154,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91968,
    "c": 0.11941,
    "h": 100.6
  },
  "luminance": 0.78466
}

Semantic roles & 50–950 ramp

primary
#F6E786
secondary
#4D5FD3
accent
#21E303
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F6E786

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

Preview Lab → · Contrast checker → · Palette generator →

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