#F6D862#F6D862

#F6D862 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.140 H 95.1°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#F6D862
RGBrgb(246, 216, 98)
HSLhsl(48, 89%, 67%)
HSVhsv(48, 60%, 96%)
CMYKcmyk(0%, 12.2%, 60.2%, 3.5%)
CIE-LABlab(86.80, -3.09, 60.64)
CIE-LCHlch(86.80, 60.72, 92.92°)
OKLaboklab(88.52% -0.0125 0.1397)
OKLCHoklch(88.52% 0.14 95.1)
XYZxyz(64.7693, 69.5895, 21.5734)
Luminance0.6959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D862 #6280F6
analogous
#F68E62 #F6D862 #CAF662
triadic
#F6D862 #62F6D8 #D862F6
tetradic
#F6D862 #62F68E #6280F6 #F662CA
square
#F6D862 #62F68E #6280F6 #F662CA
split-complementary
#F6D862 #62CAF6 #8E62F6
monochromatic
#D2AA0C #F3CA28 #F6D862 #F9E69C #FDF5D6

Accessibility & contrast

On white

1.41
#F6D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#F6D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D862
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D862#FFFFFF#000000##000000
##F6D8621.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD455
Deuteranopia (green-blind)
#F4DD67
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f6d862;
/* rgb */ color: rgb(246, 216, 98);
/* oklch */ color: oklch(88.5% 0.140 95.1);
Tailwind
colors: {
  custom: {
    50: '#fce393',
    500: '#f6d862',
    950: '#000000',
  },
}
SCSS
$custom: #f6d862;
$custom-light: #fce393;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d862",
  "rgb": {
    "r": 246,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 47.838,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88517,
    "c": 0.14022,
    "h": 95.1
  },
  "luminance": 0.69586
}

Semantic roles & 50–950 ramp

primary
#F6D862
secondary
#2F4FCD
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6D862

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

Preview Lab → · Contrast checker → · Palette generator →

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