#F6F159#F6F159

#F6F159 is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.5% C 0.169 H 107.4°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#F6F159
RGBrgb(246, 241, 89)
HSLhsl(58, 90%, 66%)
HSVhsv(58, 64%, 96%)
CMYKcmyk(0%, 2%, 63.8%, 3.5%)
CIE-LABlab(93.11, -16.08, 71.20)
CIE-LCHlch(93.11, 72.99, 102.72°)
OKLaboklab(93.51% -0.0505 0.1608)
OKLCHoklch(93.51% 0.169 107.4)
XYZxyz(71.2670, 83.2270, 21.7596)
Luminance0.8323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F159 #595EF6
analogous
#F6A259 #F6F159 #ACF659
triadic
#F6F159 #59F6F1 #F159F6
tetradic
#F6F159 #59F6A2 #595EF6 #F659AC
square
#F6F159 #59F6A2 #595EF6 #F659AC
split-complementary
#F6F159 #59ACF6 #A259F6
monochromatic
#CAC40B #F3EC1F #F6F159 #F9F693 #FCFBCD

Accessibility & contrast

On white

1.19
#F6F159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#F6F159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F159
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F159#FFFFFF#000000##000000
##F6F1591.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE845
Deuteranopia (green-blind)
#FFEE63
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f6f159;
/* rgb */ color: rgb(246, 241, 89);
/* oklch */ color: oklch(93.5% 0.169 107.4);
Tailwind
colors: {
  custom: {
    50: '#fdf58f',
    500: '#f6f159',
    950: '#000000',
  },
}
SCSS
$custom: #f6f159;
$custom-light: #fdf58f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f159",
  "rgb": {
    "r": 246,
    "g": 241,
    "b": 89
  },
  "hsl": {
    "h": 58.089,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.9351,
    "c": 0.16855,
    "h": 107.4
  },
  "luminance": 0.83225
}

Semantic roles & 50–950 ramp

primary
#F6F159
secondary
#2D32C6
accent
#07E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F6F159

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

Preview Lab → · Contrast checker → · Palette generator →

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