#F6F372#F6F372

#F6F372 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.151 H 107.7°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#F6F372
RGBrgb(246, 243, 114)
HSLhsl(59, 88%, 71%)
HSVhsv(59, 54%, 96%)
CMYKcmyk(0%, 1.2%, 53.7%, 3.5%)
CIE-LABlab(93.84, -15.37, 61.52)
CIE-LCHlch(93.84, 63.41, 104.03°)
OKLaboklab(94.16% -0.0459 0.1434)
OKLCHoklch(94.16% 0.151 107.7)
XYZxyz(73.0959, 84.9109, 28.4553)
Luminance0.8491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F372 #7275F6
analogous
#F6B172 #F6F372 #B7F672
triadic
#F6F372 #72F6F3 #F372F6
tetradic
#F6F372 #72F6B1 #7275F6 #F672B7
square
#F6F372 #72F6B1 #7275F6 #F672B7
split-complementary
#F6F372 #72B7F6 #B172F6
monochromatic
#DFDB0E #F2EE38 #F6F372 #FAF8AC #FDFDE2

Accessibility & contrast

On white

1.17
#F6F372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#F6F372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F372
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F372#FFFFFF#000000##000000
##F6F3721.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFF079
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f6f372;
/* rgb */ color: rgb(246, 243, 114);
/* oklch */ color: oklch(94.2% 0.151 107.7);
Tailwind
colors: {
  custom: {
    50: '#fcf69e',
    500: '#f6f372',
    950: '#000000',
  },
}
SCSS
$custom: #f6f372;
$custom-light: #fcf69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f372",
  "rgb": {
    "r": 246,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 58.636,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94161,
    "c": 0.15057,
    "h": 107.7
  },
  "luminance": 0.84909
}

Semantic roles & 50–950 ramp

primary
#F6F372
secondary
#3C3FD1
accent
#06E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F372

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

Preview Lab → · Contrast checker → · Palette generator →

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