#F6DE6A#F6DE6A

#F6DE6A is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.8% C 0.138 H 97.8°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#F6DE6A
RGBrgb(246, 222, 106)
HSLhsl(50, 89%, 69%)
HSVhsv(50, 57%, 96%)
CMYKcmyk(0%, 9.8%, 56.9%, 3.5%)
CIE-LABlab(88.39, -5.56, 58.86)
CIE-LCHlch(88.39, 59.12, 95.40°)
OKLaboklab(89.8% -0.0187 0.1368)
OKLCHoklch(89.8% 0.138 97.8)
XYZxyz(66.7314, 72.8789, 24.1849)
Luminance0.7288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DE6A #6A82F6
analogous
#F6986A #F6DE6A #C8F66A
triadic
#F6DE6A #6AF6DE #DE6AF6
tetradic
#F6DE6A #6AF698 #6A82F6 #F66AC8
square
#F6DE6A #6AF698 #6A82F6 #F66AC8
split-complementary
#F6DE6A #6AC8F6 #986AF6
monochromatic
#D9B60D #F3D130 #F6DE6A #F9EBA4 #FDF8DD

Accessibility & contrast

On white

1.35
#F6DE6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#F6DE6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DE6A
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DE6A#FFFFFF#000000##000000
##F6DE6A1.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D95E
Deuteranopia (green-blind)
#F7E16F
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f6de6a;
/* rgb */ color: rgb(246, 222, 106);
/* oklch */ color: oklch(89.8% 0.138 97.8);
Tailwind
colors: {
  custom: {
    50: '#fce898',
    500: '#f6de6a',
    950: '#000000',
  },
}
SCSS
$custom: #f6de6a;
$custom-light: #fce898;
$custom-dark: #000000;
JSON
{
  "hex": "#f6de6a",
  "rgb": {
    "r": 246,
    "g": 222,
    "b": 106
  },
  "hsl": {
    "h": 49.714,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89803,
    "c": 0.13808,
    "h": 97.8
  },
  "luminance": 0.72876
}

Semantic roles & 50–950 ramp

primary
#F6DE6A
secondary
#354FD0
accent
#28E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6DE6A

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

Preview Lab → · Contrast checker → · Palette generator →

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