#F6D877#F6D877

#F6D877 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.8% C 0.122 H 92.6°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#F6D877
RGBrgb(246, 216, 119)
HSLhsl(46, 88%, 72%)
HSVhsv(46, 52%, 96%)
CMYKcmyk(0%, 12.2%, 51.6%, 3.5%)
CIE-LABlab(87.02, -1.51, 51.20)
CIE-LCHlch(87.02, 51.22, 91.69°)
OKLaboklab(88.76% -0.0055 0.1215)
OKLCHoklch(88.76% 0.122 92.6)
XYZxyz(65.8941, 70.0394, 27.4973)
Luminance0.7004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D877 #7795F6
analogous
#F69977 #F6D877 #D5F677
triadic
#F6D877 #77F6D8 #D877F6
tetradic
#F6D877 #77F699 #7795F6 #F677D5
square
#F6D877 #77F699 #7795F6 #F677D5
split-complementary
#F6D877 #77D5F6 #9977F6
monochromatic
#E4B10F #F2C83E #F6D877 #FAE8B0 #FDF7E2

Accessibility & contrast

On white

1.40
#F6D877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#F6D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D877
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D877#FFFFFF#000000##000000
##F6D8771.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD56F
Deuteranopia (green-blind)
#F2DE7B
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f6d877;
/* rgb */ color: rgb(246, 216, 119);
/* oklch */ color: oklch(88.8% 0.122 92.6);
Tailwind
colors: {
  custom: {
    50: '#fce3a0',
    500: '#f6d877',
    950: '#000000',
  },
}
SCSS
$custom: #f6d877;
$custom-light: #fce3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d877",
  "rgb": {
    "r": 246,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 45.827,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88763,
    "c": 0.12157,
    "h": 92.6
  },
  "luminance": 0.70036
}

Semantic roles & 50–950 ramp

primary
#F6D877
secondary
#4062D1
accent
#37E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F6D877

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

Preview Lab → · Contrast checker → · Palette generator →

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