#F6F56A#F6F56A

#F6F56A is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.159 H 108.7°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#F6F56A
RGBrgb(246, 245, 106)
HSLhsl(60, 89%, 69%)
HSVhsv(60, 57%, 96%)
CMYKcmyk(0%, 0.4%, 56.9%, 3.5%)
CIE-LABlab(94.29, -16.93, 65.50)
CIE-LCHlch(94.29, 67.65, 104.50°)
OKLaboklab(94.49% -0.0512 0.151)
OKLCHoklch(94.49% 0.159 108.7)
XYZxyz(73.2621, 85.9402, 26.3618)
Luminance0.8594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F56A #6A6BF6
analogous
#F6AF6A #F6F56A #B1F66A
triadic
#F6F56A #6AF6F5 #F56AF6
tetradic
#F6F56A #6AF6AF #6A6BF6 #F66AB1
square
#F6F56A #6AF6AF #6A6BF6 #F66AB1
split-complementary
#F6F56A #6AB1F6 #AF6AF6
monochromatic
#D9D70D #F3F130 #F6F56A #F9F9A4 #FDFDDD

Accessibility & contrast

On white

1.15
#F6F56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#F6F56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F56A
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F56A#FFFFFF#000000##000000
##F6F56A1.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5B
Deuteranopia (green-blind)
#FFF172
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f6f56a;
/* rgb */ color: rgb(246, 245, 106);
/* oklch */ color: oklch(94.5% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#fcf899',
    500: '#f6f56a',
    950: '#000000',
  },
}
SCSS
$custom: #f6f56a;
$custom-light: #fcf899;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f56a",
  "rgb": {
    "r": 246,
    "g": 245,
    "b": 106
  },
  "hsl": {
    "h": 59.571,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94489,
    "c": 0.15944,
    "h": 108.7
  },
  "luminance": 0.85938
}

Semantic roles & 50–950 ramp

primary
#F6F56A
secondary
#3536D0
accent
#02E500
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F6F56A

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

Preview Lab → · Contrast checker → · Palette generator →

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