#F6F26B#F6F26B

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

Color values

HEX#F6F26B
RGBrgb(246, 242, 107)
HSLhsl(58, 89%, 69%)
HSVhsv(58, 57%, 96%)
CMYKcmyk(0%, 1.6%, 56.5%, 3.5%)
CIE-LABlab(93.52, -15.40, 64.21)
CIE-LCHlch(93.52, 66.04, 103.49°)
OKLaboklab(93.88% -0.0467 0.1484)
OKLCHoklch(93.88% 0.156 107.5)
XYZxyz(72.4142, 84.1607, 26.3372)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F26B #6B6FF6
analogous
#F6AC6B #F6F26B #B5F66B
triadic
#F6F26B #6BF6F2 #F26BF6
tetradic
#F6F26B #6BF6AC #6B6FF6 #F66BB5
square
#F6F26B #6BF6AC #6B6FF6 #F66BB5
split-complementary
#F6F26B #6BB5F6 #AC6BF6
monochromatic
#D9D40D #F2ED31 #F6F26B #FAF7A5 #FDFCDE

Accessibility & contrast

On white

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

On black

17.83
#F6F26B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F26B
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F26B#FFFFFF#000000##000000
##F6F26B1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f26b;
/* rgb */ color: rgb(246, 242, 107);
/* oklch */ color: oklch(93.9% 0.156 107.5);
Tailwind
colors: {
  custom: {
    50: '#fcf69a',
    500: '#f6f26b',
    950: '#000000',
  },
}
SCSS
$custom: #f6f26b;
$custom-light: #fcf69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f26b",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 107
  },
  "hsl": {
    "h": 58.273,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93881,
    "c": 0.15558,
    "h": 107.5
  },
  "luminance": 0.84159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F6F26B

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

Preview Lab → · Contrast checker → · Palette generator →

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