#F6F08C#F6F08C

#F6F08C is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.9% C 0.122 H 105.5°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#F6F08C
RGBrgb(246, 240, 140)
HSLhsl(57, 85%, 76%)
HSVhsv(57, 43%, 96%)
CMYKcmyk(0%, 2.4%, 43.1%, 3.5%)
CIE-LABlab(93.37, -11.64, 48.89)
CIE-LCHlch(93.37, 50.25, 103.39°)
OKLaboklab(93.88% -0.0327 0.1179)
OKLCHoklch(93.88% 0.122 105.5)
XYZxyz(73.9012, 83.8084, 37.0896)
Luminance0.8381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F08C #8C92F6
analogous
#F6BB8C #F6F08C #C7F68C
triadic
#F6F08C #8CF6F0 #F08CF6
tetradic
#F6F08C #8CF6BB #8C92F6 #F68CC7
square
#F6F08C #8CF6BB #8C92F6 #F68CC7
split-complementary
#F6F08C #8CC7F6 #BB8CF6
monochromatic
#EDE11A #F2E953 #F6F08C #FAF7C5 #FDFBE3

Accessibility & contrast

On white

1.18
#F6F08C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#F6F08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F08C
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F08C#FFFFFF#000000##000000
##F6F08C1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE984
Deuteranopia (green-blind)
#FFEE90
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f08c;
/* rgb */ color: rgb(246, 240, 140);
/* oklch */ color: oklch(93.9% 0.122 105.5);
Tailwind
colors: {
  custom: {
    50: '#fbf4af',
    500: '#f6f08c',
    950: '#000000',
  },
}
SCSS
$custom: #f6f08c;
$custom-light: #fbf4af;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f08c",
  "rgb": {
    "r": 246,
    "g": 240,
    "b": 140
  },
  "hsl": {
    "h": 56.604,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.93876,
    "c": 0.12231,
    "h": 105.5
  },
  "luminance": 0.83806
}

Semantic roles & 50–950 ramp

primary
#F6F08C
secondary
#535AD4
accent
#10E204
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6F08C

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

Preview Lab → · Contrast checker → · Palette generator →

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