#F6F874#F6F874

#F6F874 is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.2% C 0.154 H 109.8°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#F6F874
RGBrgb(246, 248, 116)
HSLhsl(61, 90%, 71%)
HSVhsv(61, 53%, 97%)
CMYKcmyk(0.8%, 0%, 53.2%, 2.7%)
CIE-LABlab(95.16, -17.65, 62.14)
CIE-LCHlch(95.16, 64.59, 105.85°)
OKLaboklab(95.21% -0.0522 0.1449)
OKLCHoklch(95.21% 0.154 109.8)
XYZxyz(74.7277, 87.9904, 29.5670)
Luminance0.8799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F874 #7674F8
analogous
#F8B874 #F6F874 #B4F874
triadic
#F6F874 #74F6F8 #F874F6
tetradic
#F6F874 #74F8B8 #7674F8 #F874B4
square
#F6F874 #74F8B8 #7674F8 #F874B4
split-complementary
#F6F874 #74B4F8 #B874F8
monochromatic
#E3E60C #F2F53A #F6F874 #FAFBAE #FDFEE2

Accessibility & contrast

On white

1.13
#F6F874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.60
#F6F874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F874
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F874#FFFFFF#000000##000000
##F6F8741.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF67
Deuteranopia (green-blind)
#FFF37B
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f6f874;
/* rgb */ color: rgb(246, 248, 116);
/* oklch */ color: oklch(95.2% 0.154 109.8);
Tailwind
colors: {
  custom: {
    50: '#fcfaa0',
    500: '#f6f874',
    950: '#000000',
  },
}
SCSS
$custom: #f6f874;
$custom-light: #fcfaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f874",
  "rgb": {
    "r": 246,
    "g": 248,
    "b": 116
  },
  "hsl": {
    "h": 60.909,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95213,
    "c": 0.15404,
    "h": 109.8
  },
  "luminance": 0.87989
}

Semantic roles & 50–950 ramp

primary
#F6F874
secondary
#3F3DD3
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F874

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

Preview Lab → · Contrast checker → · Palette generator →

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