#F6DC6F#F6DC6F

#F6DC6F is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.5% C 0.132 H 96.1°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#F6DC6F
RGBrgb(246, 220, 111)
HSLhsl(48, 88%, 70%)
HSVhsv(48, 55%, 96%)
CMYKcmyk(0%, 10.6%, 54.9%, 3.5%)
CIE-LABlab(87.93, -4.18, 56.05)
CIE-LCHlch(87.93, 56.21, 94.27°)
OKLaboklab(89.46% -0.0141 0.1313)
OKLCHoklch(89.46% 0.132 96.1)
XYZxyz(66.4710, 71.9298, 25.4184)
Luminance0.7193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DC6F #6F89F6
analogous
#F6986F #F6DC6F #CDF66F
triadic
#F6DC6F #6FF6DC #DC6FF6
tetradic
#F6DC6F #6FF698 #6F89F6 #F66FCD
square
#F6DC6F #6FF698 #6F89F6 #F66FCD
split-complementary
#F6DC6F #6FCDF6 #986FF6
monochromatic
#DDB50E #F2CE35 #F6DC6F #FAEAA9 #FDF8E2

Accessibility & contrast

On white

1.36
#F6DC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#F6DC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DC6F
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DC6F#FFFFFF#000000##000000
##F6DC6F1.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD865
Deuteranopia (green-blind)
#F6E074
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f6dc6f;
/* rgb */ color: rgb(246, 220, 111);
/* oklch */ color: oklch(89.5% 0.132 96.1);
Tailwind
colors: {
  custom: {
    50: '#fce69b',
    500: '#f6dc6f',
    950: '#000000',
  },
}
SCSS
$custom: #f6dc6f;
$custom-light: #fce69b;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dc6f",
  "rgb": {
    "r": 246,
    "g": 220,
    "b": 111
  },
  "hsl": {
    "h": 48.444,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.8946,
    "c": 0.13205,
    "h": 96.1
  },
  "luminance": 0.71927
}

Semantic roles & 50–950 ramp

primary
#F6DC6F
secondary
#3956D0
accent
#2DE501
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F6DC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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