#F6DC57#F6DC57

#F6DC57 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.2% C 0.152 H 98.1°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#F6DC57
RGBrgb(246, 220, 87)
HSLhsl(50, 90%, 65%)
HSVhsv(50, 65%, 96%)
CMYKcmyk(0%, 10.6%, 64.6%, 3.5%)
CIE-LABlab(87.71, -5.80, 66.33)
CIE-LCHlch(87.71, 66.59, 94.99°)
OKLaboklab(89.21% -0.0215 0.1502)
OKLCHoklch(89.21% 0.152 98.1)
XYZxyz(65.3224, 71.4704, 19.3694)
Luminance0.7147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DC57 #5771F6
analogous
#F68D57 #F6DC57 #C0F657
triadic
#F6DC57 #57F6DC #DC57F6
tetradic
#F6DC57 #57F68D #5771F6 #F657C0
square
#F6DC57 #57F68D #5771F6 #F657C0
split-complementary
#F6DC57 #57C0F6 #8D57F6
monochromatic
#C8A90B #F3D01D #F6DC57 #F9E891 #FCF4CB

Accessibility & contrast

On white

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

On black

15.29
#F6DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DC57
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DC57#FFFFFF#000000##000000
##F6DC571.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D747
Deuteranopia (green-blind)
#F7E05E
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f6dc57;
/* rgb */ color: rgb(246, 220, 87);
/* oklch */ color: oklch(89.2% 0.152 98.1);
Tailwind
colors: {
  custom: {
    50: '#fde68c',
    500: '#f6dc57',
    950: '#000000',
  },
}
SCSS
$custom: #f6dc57;
$custom-light: #fde68c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dc57",
  "rgb": {
    "r": 246,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 50.189,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89213,
    "c": 0.15176,
    "h": 98.1
  },
  "luminance": 0.71467
}

Semantic roles & 50–950 ramp

primary
#F6DC57
secondary
#2D46C4
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F6DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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