#F6F26C#F6F26C

#F6F26C is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.9% C 0.155 H 107.5°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#F6F26C
RGBrgb(246, 242, 108)
HSLhsl(58, 88%, 69%)
HSVhsv(58, 56%, 96%)
CMYKcmyk(0%, 1.6%, 56.1%, 3.5%)
CIE-LABlab(93.53, -15.33, 63.79)
CIE-LCHlch(93.53, 65.61, 103.52°)
OKLaboklab(93.89% -0.0464 0.1476)
OKLCHoklch(93.89% 0.155 107.5)
XYZxyz(72.4671, 84.1819, 26.6159)
Luminance0.8418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F26C #6C70F6
analogous
#F6AD6C #F6F26C #B5F66C
triadic
#F6F26C #6CF6F2 #F26CF6
tetradic
#F6F26C #6CF6AD #6C70F6 #F66CB5
square
#F6F26C #6CF6AD #6C70F6 #F66CB5
split-complementary
#F6F26C #6CB5F6 #AD6CF6
monochromatic
#DAD40D #F2ED32 #F6F26C #FAF7A6 #FDFCDF

Accessibility & contrast

On white

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

On black

17.84
#F6F26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F26C
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F26C#FFFFFF#000000##000000
##F6F26C1.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95E
Deuteranopia (green-blind)
#FFEF73
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f26c;
/* rgb */ color: rgb(246, 242, 108);
/* oklch */ color: oklch(93.9% 0.155 107.5);
Tailwind
colors: {
  custom: {
    50: '#fcf69a',
    500: '#f6f26c',
    950: '#000000',
  },
}
SCSS
$custom: #f6f26c;
$custom-light: #fcf69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f26c",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 108
  },
  "hsl": {
    "h": 58.261,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93892,
    "c": 0.15473,
    "h": 107.5
  },
  "luminance": 0.8418
}

Semantic roles & 50–950 ramp

primary
#F6F26C
secondary
#363BD0
accent
#07E500
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F6F26C

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

Preview Lab → · Contrast checker → · Palette generator →

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