#F6DC8B#F6DC8B

#F6DC8B is a very light, moderate yellow. Relative luminance 0.726; OKLCH L 89.8% C 0.105 H 92.3°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#F6DC8B
RGBrgb(246, 220, 139)
HSLhsl(45, 86%, 75%)
HSVhsv(45, 43%, 96%)
CMYKcmyk(0%, 10.6%, 43.5%, 3.5%)
CIE-LABlab(88.28, -1.71, 42.99)
CIE-LCHlch(88.28, 43.02, 92.28°)
OKLaboklab(89.84% -0.0041 0.1045)
OKLCHoklch(89.84% 0.105 92.3)
XYZxyz(68.2613, 72.6460, 34.8475)
Luminance0.7264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DC8B #8BA5F6
analogous
#F6A78B #F6DC8B #DAF68B
triadic
#F6DC8B #8BF6DC #DC8BF6
tetradic
#F6DC8B #8BF6A7 #8BA5F6 #F68BDA
square
#F6DC8B #8BF6A7 #8BA5F6 #F68BDA
split-complementary
#F6DC8B #8BDAF6 #A78BF6
monochromatic
#EDBA19 #F2CB52 #F6DC8B #FAEDC4 #FDF6E3

Accessibility & contrast

On white

1.35
#F6DC8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#F6DC8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DC8B
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DC8B#FFFFFF#000000##000000
##F6DC8B1.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD985
Deuteranopia (green-blind)
#F3E18E
Tritanopia (blue-blind)
#FFD0C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f6dc8b;
/* rgb */ color: rgb(246, 220, 139);
/* oklch */ color: oklch(89.8% 0.105 92.3);
Tailwind
colors: {
  custom: {
    50: '#fbe6ae',
    500: '#f6dc8b',
    950: '#000000',
  },
}
SCSS
$custom: #f6dc8b;
$custom-light: #fbe6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dc8b",
  "rgb": {
    "r": 246,
    "g": 220,
    "b": 139
  },
  "hsl": {
    "h": 45.421,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.89843,
    "c": 0.10458,
    "h": 92.3
  },
  "luminance": 0.72643
}

Semantic roles & 50–950 ramp

primary
#F6DC8B
secondary
#5271D4
accent
#3AE203
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F6DC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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