#F6E787#F6E787

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

Color values

HEX#F6E787
RGBrgb(246, 231, 135)
HSLhsl(52, 86%, 75%)
HSVhsv(52, 45%, 96%)
CMYKcmyk(0%, 6.1%, 45.1%, 3.5%)
CIE-LABlab(91.01, -7.65, 48.37)
CIE-LCHlch(91.01, 48.97, 98.99°)
OKLaboklab(91.98% -0.0217 0.1164)
OKLCHoklch(91.98% 0.118 100.5)
XYZxyz(70.9569, 78.4962, 34.3305)
Luminance0.7849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E787 #8796F6
analogous
#F6B087 #F6E787 #CEF687
triadic
#F6E787 #87F6E7 #E787F6
tetradic
#F6E787 #87F6B0 #8796F6 #F687CE
square
#F6E787 #87F6B0 #8796F6 #F687CE
split-complementary
#F6E787 #87CEF6 #B087F6
monochromatic
#EDD015 #F2DC4E #F6E787 #FAF2C0 #FDF9E3

Accessibility & contrast

On white

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

On black

16.70
#F6E787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E787
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E787#FFFFFF#000000##000000
##F6E7871.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6e787;
/* rgb */ color: rgb(246, 231, 135);
/* oklch */ color: oklch(92.0% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#fbeeab',
    500: '#f6e787',
    950: '#000000',
  },
}
SCSS
$custom: #f6e787;
$custom-light: #fbeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e787",
  "rgb": {
    "r": 246,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 51.892,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.91982,
    "c": 0.11838,
    "h": 100.5
  },
  "luminance": 0.78494
}

Semantic roles & 50–950 ramp

primary
#F6E787
secondary
#4E60D3
accent
#21E303
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F6E787

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

Preview Lab → · Contrast checker → · Palette generator →

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