#F6F56C#F6F56C

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

Color values

HEX#F6F56C
RGBrgb(246, 245, 108)
HSLhsl(60, 88%, 69%)
HSVhsv(60, 56%, 96%)
CMYKcmyk(0%, 0.4%, 56.1%, 3.5%)
CIE-LABlab(94.30, -16.79, 64.66)
CIE-LCHlch(94.30, 66.81, 104.56°)
OKLaboklab(94.51% -0.0505 0.1495)
OKLCHoklch(94.51% 0.158 108.7)
XYZxyz(73.3673, 85.9823, 26.9159)
Luminance0.8598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F56C #6C6DF6
analogous
#F6B06C #F6F56C #B2F66C
triadic
#F6F56C #6CF6F5 #F56CF6
tetradic
#F6F56C #6CF6B0 #6C6DF6 #F66CB2
square
#F6F56C #6CF6B0 #6C6DF6 #F66CB2
split-complementary
#F6F56C #6CB2F6 #B06CF6
monochromatic
#DAD90D #F2F132 #F6F56C #FAF9A6 #FDFDDF

Accessibility & contrast

On white

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

On black

18.20
#F6F56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F56C
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F56C#FFFFFF#000000##000000
##F6F56C1.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f56c;
/* rgb */ color: rgb(246, 245, 108);
/* oklch */ color: oklch(94.5% 0.158 108.7);
Tailwind
colors: {
  custom: {
    50: '#fcf89b',
    500: '#f6f56c',
    950: '#000000',
  },
}
SCSS
$custom: #f6f56c;
$custom-light: #fcf89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f56c",
  "rgb": {
    "r": 246,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 59.565,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94509,
    "c": 0.15779,
    "h": 108.7
  },
  "luminance": 0.8598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F6F56C

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

Preview Lab → · Contrast checker → · Palette generator →

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