#F6DE6B#F6DE6B

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

Color values

HEX#F6DE6B
RGBrgb(246, 222, 107)
HSLhsl(50, 89%, 69%)
HSVhsv(50, 57%, 96%)
CMYKcmyk(0%, 9.8%, 56.5%, 3.5%)
CIE-LABlab(88.40, -5.49, 58.42)
CIE-LCHlch(88.40, 58.68, 95.37°)
OKLaboklab(89.81% -0.0184 0.136)
OKLCHoklch(89.81% 0.137 97.7)
XYZxyz(66.7837, 72.8998, 24.4603)
Luminance0.7290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DE6B #6B83F6
analogous
#F6996B #F6DE6B #C9F66B
triadic
#F6DE6B #6BF6DE #DE6BF6
tetradic
#F6DE6B #6BF699 #6B83F6 #F66BC9
square
#F6DE6B #6BF699 #6B83F6 #F66BC9
split-complementary
#F6DE6B #6BC9F6 #996BF6
monochromatic
#D9B60D #F2D131 #F6DE6B #FAEBA5 #FDF8DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F6DE6B#FFFFFF#000000##000000
##F6DE6B1.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)
#F1D960
Deuteranopia (green-blind)
#F7E170
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f6de6b;
/* rgb */ color: rgb(246, 222, 107);
/* oklch */ color: oklch(89.8% 0.137 97.7);
Tailwind
colors: {
  custom: {
    50: '#fce899',
    500: '#f6de6b',
    950: '#000000',
  },
}
SCSS
$custom: #f6de6b;
$custom-light: #fce899;
$custom-dark: #000000;
JSON
{
  "hex": "#f6de6b",
  "rgb": {
    "r": 246,
    "g": 222,
    "b": 107
  },
  "hsl": {
    "h": 49.64,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89814,
    "c": 0.1372,
    "h": 97.7
  },
  "luminance": 0.72897
}

Semantic roles & 50–950 ramp

primary
#F6DE6B
secondary
#3650D0
accent
#28E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6DE6B

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

Preview Lab → · Contrast checker → · Palette generator →

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