#F6D562#F6D562

#F6D562 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.9% C 0.138 H 93.4°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#F6D562
RGBrgb(246, 213, 98)
HSLhsl(47, 89%, 67%)
HSVhsv(47, 60%, 96%)
CMYKcmyk(0%, 13.4%, 60.2%, 3.5%)
CIE-LABlab(86.04, -1.56, 59.79)
CIE-LCHlch(86.04, 59.81, 91.50°)
OKLaboklab(87.92% -0.0081 0.1379)
OKLCHoklch(87.92% 0.138 93.4)
XYZxyz(64.0077, 68.0664, 21.3196)
Luminance0.6806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D562 #6283F6
analogous
#F68B62 #F6D562 #CDF662
triadic
#F6D562 #62F6D5 #D562F6
tetradic
#F6D562 #62F68B #6283F6 #F662CD
square
#F6D562 #62F68B #6283F6 #F662CD
split-complementary
#F6D562 #62CDF6 #8B62F6
monochromatic
#D2A60C #F3C628 #F6D562 #F9E49C #FDF4D6

Accessibility & contrast

On white

1.44
#F6D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#F6D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D562
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D562#FFFFFF#000000##000000
##F6D5621.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f6d562;
/* rgb */ color: rgb(246, 213, 98);
/* oklch */ color: oklch(87.9% 0.138 93.4);
Tailwind
colors: {
  custom: {
    50: '#fce192',
    500: '#f6d562',
    950: '#000000',
  },
}
SCSS
$custom: #f6d562;
$custom-light: #fce192;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d562",
  "rgb": {
    "r": 246,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 46.622,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87919,
    "c": 0.13809,
    "h": 93.4
  },
  "luminance": 0.68063
}

Semantic roles & 50–950 ramp

primary
#F6D562
secondary
#2F52CD
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6D562

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

Preview Lab → · Contrast checker → · Palette generator →

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