#F6D962#F6D962

#F6D962 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.7% C 0.141 H 95.7°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#F6D962
RGBrgb(246, 217, 98)
HSLhsl(48, 89%, 67%)
HSVhsv(48, 60%, 96%)
CMYKcmyk(0%, 11.8%, 60.2%, 3.5%)
CIE-LABlab(87.05, -3.60, 60.92)
CIE-LCHlch(87.05, 61.02, 93.38°)
OKLaboklab(88.72% -0.0139 0.1403)
OKLCHoklch(88.72% 0.141 95.7)
XYZxyz(65.0263, 70.1035, 21.6591)
Luminance0.7010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D962 #627FF6
analogous
#F68F62 #F6D962 #C9F662
triadic
#F6D962 #62F6D9 #D962F6
tetradic
#F6D962 #62F68F #627FF6 #F662C9
square
#F6D962 #62F68F #627FF6 #F662C9
split-complementary
#F6D962 #62C9F6 #8F62F6
monochromatic
#D2AB0C #F3CB28 #F6D962 #F9E79C #FDF5D6

Accessibility & contrast

On white

1.40
#F6D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#F6D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D962
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D962#FFFFFF#000000##000000
##F6D9621.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD555
Deuteranopia (green-blind)
#F4DE68
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f6d962;
/* rgb */ color: rgb(246, 217, 98);
/* oklch */ color: oklch(88.7% 0.141 95.7);
Tailwind
colors: {
  custom: {
    50: '#fce493',
    500: '#f6d962',
    950: '#000000',
  },
}
SCSS
$custom: #f6d962;
$custom-light: #fce493;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d962",
  "rgb": {
    "r": 246,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 48.243,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88716,
    "c": 0.14095,
    "h": 95.7
  },
  "luminance": 0.701
}

Semantic roles & 50–950 ramp

primary
#F6D962
secondary
#2F4ECD
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6D962

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

Preview Lab → · Contrast checker → · Palette generator →

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