#F6DC6B#F6DC6B

#F6DC6B is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.136 H 96.5°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#F6DC6B
RGBrgb(246, 220, 107)
HSLhsl(49, 89%, 69%)
HSVhsv(49, 57%, 96%)
CMYKcmyk(0%, 10.6%, 56.5%, 3.5%)
CIE-LABlab(87.89, -4.48, 57.84)
CIE-LCHlch(87.89, 58.01, 94.43°)
OKLaboklab(89.41% -0.0154 0.1347)
OKLCHoklch(89.41% 0.136 96.5)
XYZxyz(66.2556, 71.8437, 24.2843)
Luminance0.7184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DC6B #6B85F6
analogous
#F6976B #F6DC6B #CBF66B
triadic
#F6DC6B #6BF6DC #DC6BF6
tetradic
#F6DC6B #6BF697 #6B85F6 #F66BCB
square
#F6DC6B #6BF697 #6B85F6 #F66BCB
split-complementary
#F6DC6B #6BCBF6 #976BF6
monochromatic
#D9B30D #F2CE31 #F6DC6B #FAEAA5 #FDF7DE

Accessibility & contrast

On white

1.37
#F6DC6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#F6DC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DC6B
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DC6B#FFFFFF#000000##000000
##F6DC6B1.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6dc6b;
/* rgb */ color: rgb(246, 220, 107);
/* oklch */ color: oklch(89.4% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#fce699',
    500: '#f6dc6b',
    950: '#000000',
  },
}
SCSS
$custom: #f6dc6b;
$custom-light: #fce699;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dc6b",
  "rgb": {
    "r": 246,
    "g": 220,
    "b": 107
  },
  "hsl": {
    "h": 48.777,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89413,
    "c": 0.1356,
    "h": 96.5
  },
  "luminance": 0.71841
}

Semantic roles & 50–950 ramp

primary
#F6DC6B
secondary
#3652D0
accent
#2BE500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F6DC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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