#F6F56B#F6F56B

#F6F56B is a very light, vivid yellow. Relative luminance 0.860; 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#F6F56B
RGBrgb(246, 245, 107)
HSLhsl(60, 89%, 69%)
HSVhsv(60, 57%, 96%)
CMYKcmyk(0%, 0.4%, 56.5%, 3.5%)
CIE-LABlab(94.30, -16.86, 65.08)
CIE-LCHlch(94.30, 67.23, 104.53°)
OKLaboklab(94.5% -0.0508 0.1502)
OKLCHoklch(94.5% 0.159 108.7)
XYZxyz(73.3144, 85.9612, 26.6372)
Luminance0.8596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F56B #6B6CF6
analogous
#F6B06B #F6F56B #B2F66B
triadic
#F6F56B #6BF6F5 #F56BF6
tetradic
#F6F56B #6BF6B0 #6B6CF6 #F66BB2
square
#F6F56B #6BF6B0 #6B6CF6 #F66BB2
split-complementary
#F6F56B #6BB2F6 #B06BF6
monochromatic
#D9D80D #F2F131 #F6F56B #FAF9A5 #FDFDDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F6F56B#FFFFFF#000000##000000
##F6F56B1.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)
#FFEC5C
Deuteranopia (green-blind)
#FFF173
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f6f56b;
/* rgb */ color: rgb(246, 245, 107);
/* oklch */ color: oklch(94.5% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#fcf89a',
    500: '#f6f56b',
    950: '#000000',
  },
}
SCSS
$custom: #f6f56b;
$custom-light: #fcf89a;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f56b",
  "rgb": {
    "r": 246,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 59.568,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94499,
    "c": 0.15861,
    "h": 108.7
  },
  "luminance": 0.85959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F6F56B

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

Preview Lab → · Contrast checker → · Palette generator →

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