#F6DC62#F6DC62

#F6DC62 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.3% C 0.143 H 97.3°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#F6DC62
RGBrgb(246, 220, 98)
HSLhsl(49, 89%, 67%)
HSVhsv(49, 60%, 96%)
CMYKcmyk(0%, 10.6%, 60.2%, 3.5%)
CIE-LABlab(87.81, -5.11, 61.76)
CIE-LCHlch(87.81, 61.97, 94.73°)
OKLaboklab(89.32% -0.0183 0.1421)
OKLCHoklch(89.32% 0.143 97.3)
XYZxyz(65.8066, 71.6641, 21.9192)
Luminance0.7166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DC62 #627CF6
analogous
#F69262 #F6DC62 #C6F662
triadic
#F6DC62 #62F6DC #DC62F6
tetradic
#F6DC62 #62F692 #627CF6 #F662C6
square
#F6DC62 #62F692 #627CF6 #F662C6
split-complementary
#F6DC62 #62C6F6 #9262F6
monochromatic
#D2AF0C #F3CF28 #F6DC62 #F9E99C #FDF6D6

Accessibility & contrast

On white

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

On black

15.33
#F6DC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DC62
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DC62#FFFFFF#000000##000000
##F6DC621.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D755
Deuteranopia (green-blind)
#F7E068
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f6dc62;
/* rgb */ color: rgb(246, 220, 98);
/* oklch */ color: oklch(89.3% 0.143 97.3);
Tailwind
colors: {
  custom: {
    50: '#fce693',
    500: '#f6dc62',
    950: '#000000',
  },
}
SCSS
$custom: #f6dc62;
$custom-light: #fce693;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dc62",
  "rgb": {
    "r": 246,
    "g": 220,
    "b": 98
  },
  "hsl": {
    "h": 49.459,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89317,
    "c": 0.14323,
    "h": 97.3
  },
  "luminance": 0.71661
}

Semantic roles & 50–950 ramp

primary
#F6DC62
secondary
#2F4BCD
accent
#28E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6DC62

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

Preview Lab → · Contrast checker → · Palette generator →

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