#F6F460#F6F460

#F6F460 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.2% C 0.166 H 108.5°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#F6F460
RGBrgb(246, 244, 96)
HSLhsl(59, 89%, 67%)
HSVhsv(59, 61%, 96%)
CMYKcmyk(0%, 0.8%, 61%, 3.5%)
CIE-LABlab(93.94, -17.11, 69.28)
CIE-LCHlch(93.94, 71.37, 103.87°)
OKLaboklab(94.19% -0.0527 0.1578)
OKLCHoklch(94.19% 0.166 108.5)
XYZxyz(72.4703, 85.1408, 23.6804)
Luminance0.8514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F460 #6062F6
analogous
#F6A960 #F6F460 #ADF660
triadic
#F6F460 #60F6F4 #F460F6
tetradic
#F6F460 #60F6A9 #6062F6 #F660AD
square
#F6F460 #60F6A9 #6062F6 #F660AD
split-complementary
#F6F460 #60ADF6 #A960F6
monochromatic
#D0CD0C #F3F026 #F6F460 #F9F89A #FDFCD4

Accessibility & contrast

On white

1.16
#F6F460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#F6F460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F460
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F460#FFFFFF#000000##000000
##F6F4601.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4E
Deuteranopia (green-blind)
#FFF069
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f6f460;
/* rgb */ color: rgb(246, 244, 96);
/* oklch */ color: oklch(94.2% 0.166 108.5);
Tailwind
colors: {
  custom: {
    50: '#fcf793',
    500: '#f6f460',
    950: '#000000',
  },
}
SCSS
$custom: #f6f460;
$custom-light: #fcf793;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f460",
  "rgb": {
    "r": 246,
    "g": 244,
    "b": 96
  },
  "hsl": {
    "h": 59.2,
    "s": 89.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.94189,
    "c": 0.16634,
    "h": 108.5
  },
  "luminance": 0.85139
}

Semantic roles & 50–950 ramp

primary
#F6F460
secondary
#2F31CB
accent
#03E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F6F460

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

Preview Lab → · Contrast checker → · Palette generator →

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