#F6D462#F6D462

#F6D462 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.7% C 0.137 H 92.8°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#F6D462
RGBrgb(246, 212, 98)
HSLhsl(46, 89%, 67%)
HSVhsv(46, 60%, 96%)
CMYKcmyk(0%, 13.8%, 60.2%, 3.5%)
CIE-LABlab(85.79, -1.05, 59.51)
CIE-LCHlch(85.79, 59.52, 91.01°)
OKLaboklab(87.72% -0.0066 0.1373)
OKLCHoklch(87.72% 0.137 92.8)
XYZxyz(63.7570, 67.5649, 21.2360)
Luminance0.6756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D462 #6284F6
analogous
#F68A62 #F6D462 #CEF662
triadic
#F6D462 #62F6D4 #D462F6
tetradic
#F6D462 #62F68A #6284F6 #F662CE
square
#F6D462 #62F68A #6284F6 #F662CE
split-complementary
#F6D462 #62CEF6 #8A62F6
monochromatic
#D2A40C #F3C428 #F6D462 #F9E49C #FDF4D6

Accessibility & contrast

On white

1.45
#F6D462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#F6D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D462
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D462#FFFFFF#000000##000000
##F6D4621.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D156
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f6d462;
/* rgb */ color: rgb(246, 212, 98);
/* oklch */ color: oklch(87.7% 0.137 92.8);
Tailwind
colors: {
  custom: {
    50: '#fce092',
    500: '#f6d462',
    950: '#000000',
  },
}
SCSS
$custom: #f6d462;
$custom-light: #fce092;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d462",
  "rgb": {
    "r": 246,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 46.216,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87721,
    "c": 0.13741,
    "h": 92.8
  },
  "luminance": 0.67562
}

Semantic roles & 50–950 ramp

primary
#F6D462
secondary
#2F54CD
accent
#35E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6D462

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

Preview Lab → · Contrast checker → · Palette generator →

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