#F6DF6A#F6DF6A

#F6DF6A is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.139 H 98.3°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#F6DF6A
RGBrgb(246, 223, 106)
HSLhsl(50, 89%, 69%)
HSVhsv(50, 57%, 96%)
CMYKcmyk(0%, 9.3%, 56.9%, 3.5%)
CIE-LABlab(88.64, -6.07, 59.15)
CIE-LCHlch(88.64, 59.46, 95.86°)
OKLaboklab(90% -0.0201 0.1374)
OKLCHoklch(90% 0.139 98.3)
XYZxyz(66.9978, 73.4116, 24.2737)
Luminance0.7341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DF6A #6A81F6
analogous
#F6996A #F6DF6A #C7F66A
triadic
#F6DF6A #6AF6DF #DF6AF6
tetradic
#F6DF6A #6AF699 #6A81F6 #F66AC7
square
#F6DF6A #6AF699 #6A81F6 #F66AC7
split-complementary
#F6DF6A #6AC7F6 #996AF6
monochromatic
#D9B70D #F3D330 #F6DF6A #F9EBA4 #FDF8DD

Accessibility & contrast

On white

1.34
#F6DF6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#F6DF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DF6A
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DF6A#FFFFFF#000000##000000
##F6DF6A1.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5E
Deuteranopia (green-blind)
#F8E26F
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f6df6a;
/* rgb */ color: rgb(246, 223, 106);
/* oklch */ color: oklch(90.0% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#fce898',
    500: '#f6df6a',
    950: '#000000',
  },
}
SCSS
$custom: #f6df6a;
$custom-light: #fce898;
$custom-dark: #000000;
JSON
{
  "hex": "#f6df6a",
  "rgb": {
    "r": 246,
    "g": 223,
    "b": 106
  },
  "hsl": {
    "h": 50.143,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90004,
    "c": 0.1389,
    "h": 98.3
  },
  "luminance": 0.73409
}

Semantic roles & 50–950 ramp

primary
#F6DF6A
secondary
#354ED0
accent
#26E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6DF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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