#F6E56A#F6E56A

#F6E56A is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.2% C 0.144 H 101.5°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#F6E56A
RGBrgb(246, 229, 106)
HSLhsl(53, 89%, 69%)
HSVhsv(53, 57%, 96%)
CMYKcmyk(0%, 6.9%, 56.9%, 3.5%)
CIE-LABlab(90.17, -9.07, 60.89)
CIE-LCHlch(90.17, 61.56, 98.47°)
OKLaboklab(91.22% -0.0287 0.1412)
OKLCHoklch(91.22% 0.144 101.5)
XYZxyz(68.6293, 76.6747, 24.8175)
Luminance0.7667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E56A #6A7BF6
analogous
#F69F6A #F6E56A #C1F66A
triadic
#F6E56A #6AF6E5 #E56AF6
tetradic
#F6E56A #6AF69F #6A7BF6 #F66AC1
square
#F6E56A #6AF69F #6A7BF6 #F66AC1
split-complementary
#F6E56A #6AC1F6 #9F6AF6
monochromatic
#D9C00D #F3DB30 #F6E56A #F9EFA4 #FDF9DD

Accessibility & contrast

On white

1.29
#F6E56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#F6E56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E56A
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E56A#FFFFFF#000000##000000
##F6E56A1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF5D
Deuteranopia (green-blind)
#FDE670
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f6e56a;
/* rgb */ color: rgb(246, 229, 106);
/* oklch */ color: oklch(91.2% 0.144 101.5);
Tailwind
colors: {
  custom: {
    50: '#fcec98',
    500: '#f6e56a',
    950: '#000000',
  },
}
SCSS
$custom: #f6e56a;
$custom-light: #fcec98;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e56a",
  "rgb": {
    "r": 246,
    "g": 229,
    "b": 106
  },
  "hsl": {
    "h": 52.714,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91216,
    "c": 0.14406,
    "h": 101.5
  },
  "luminance": 0.76672
}

Semantic roles & 50–950 ramp

primary
#F6E56A
secondary
#3547D0
accent
#1CE500
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E56A

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

Preview Lab → · Contrast checker → · Palette generator →

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