#F6EC99#F6EC99

#F6EC99 is a very light, moderate yellow. Relative luminance 0.819; OKLCH L 93.3% C 0.104 H 102.3°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#F6EC99
RGBrgb(246, 236, 153)
HSLhsl(54, 84%, 78%)
HSVhsv(54, 38%, 96%)
CMYKcmyk(0%, 4.1%, 37.8%, 3.5%)
CIE-LABlab(92.52, -8.32, 41.46)
CIE-LCHlch(92.52, 42.29, 101.34°)
OKLaboklab(93.27% -0.0221 0.1017)
OKLCHoklch(93.27% 0.104 102.3)
XYZxyz(73.7525, 81.8856, 42.0512)
Luminance0.8188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EC99 #99A3F6
analogous
#F6BD99 #F6EC99 #D2F699
triadic
#F6EC99 #99F6EC #EC99F6
tetradic
#F6EC99 #99F6BD #99A3F6 #F699D2
square
#F6EC99 #99F6BD #99A3F6 #F699D2
split-complementary
#F6EC99 #99D2F6 #BD99F6
monochromatic
#ECD729 #F1E261 #F6EC99 #FBF6D1 #FDFAE3

Accessibility & contrast

On white

1.21
#F6EC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#F6EC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EC99
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EC99#FFFFFF#000000##000000
##F6EC991.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE793
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#FFE1D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f6ec99;
/* rgb */ color: rgb(246, 236, 153);
/* oklch */ color: oklch(93.3% 0.104 102.3);
Tailwind
colors: {
  custom: {
    50: '#faf2b8',
    500: '#f6ec99',
    950: '#000000',
  },
}
SCSS
$custom: #f6ec99;
$custom-light: #faf2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ec99",
  "rgb": {
    "r": 246,
    "g": 236,
    "b": 153
  },
  "hsl": {
    "h": 53.548,
    "s": 83.784,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93266,
    "c": 0.10407,
    "h": 102.3
  },
  "luminance": 0.81884
}

Semantic roles & 50–950 ramp

primary
#F6EC99
secondary
#5E6BD5
accent
#1DE005
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F6EC99

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

Preview Lab → · Contrast checker → · Palette generator →

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