#F6E973#F6E973

#F6E973 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.1% C 0.140 H 103.0°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#F6E973
RGBrgb(246, 233, 115)
HSLhsl(54, 88%, 71%)
HSVhsv(54, 53%, 96%)
CMYKcmyk(0%, 5.3%, 53.3%, 3.5%)
CIE-LABlab(91.28, -10.38, 58.11)
CIE-LCHlch(91.28, 59.03, 100.13°)
OKLaboklab(92.13% -0.0315 0.1362)
OKLCHoklch(92.13% 0.14 103)
XYZxyz(70.2416, 79.1109, 27.7862)
Luminance0.7911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E973 #7380F6
analogous
#F6A773 #F6E973 #C1F673
triadic
#F6E973 #73F6E9 #E973F6
tetradic
#F6E973 #73F6A7 #7380F6 #F673C1
square
#F6E973 #73F6A7 #7380F6 #F673C1
split-complementary
#F6E973 #73C1F6 #A773F6
monochromatic
#E0CB0E #F2E039 #F6E973 #FAF2AD #FDFAE2

Accessibility & contrast

On white

1.25
#F6E973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#F6E973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E973
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E973#FFFFFF#000000##000000
##F6E9731.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE268
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f6e973;
/* rgb */ color: rgb(246, 233, 115);
/* oklch */ color: oklch(92.1% 0.140 103.0);
Tailwind
colors: {
  custom: {
    50: '#fcef9e',
    500: '#f6e973',
    950: '#000000',
  },
}
SCSS
$custom: #f6e973;
$custom-light: #fcef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e973",
  "rgb": {
    "r": 246,
    "g": 233,
    "b": 115
  },
  "hsl": {
    "h": 54.046,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92128,
    "c": 0.13976,
    "h": 103
  },
  "luminance": 0.79108
}

Semantic roles & 50–950 ramp

primary
#F6E973
secondary
#3D4BD1
accent
#18E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F6E973

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

Preview Lab → · Contrast checker → · Palette generator →

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