#F6F272#F6F272

#F6F272 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.0% C 0.150 H 107.3°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#F6F272
RGBrgb(246, 242, 114)
HSLhsl(58, 88%, 71%)
HSVhsv(58, 54%, 96%)
CMYKcmyk(0%, 1.6%, 53.7%, 3.5%)
CIE-LABlab(93.59, -14.89, 61.22)
CIE-LCHlch(93.59, 63.01, 103.67°)
OKLaboklab(93.96% -0.0445 0.1428)
OKLCHoklch(93.96% 0.15 107.3)
XYZxyz(72.7975, 84.3141, 28.3558)
Luminance0.8431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F272 #7276F6
analogous
#F6B072 #F6F272 #B8F672
triadic
#F6F272 #72F6F2 #F272F6
tetradic
#F6F272 #72F6B0 #7276F6 #F672B8
square
#F6F272 #72F6B0 #7276F6 #F672B8
split-complementary
#F6F272 #72B8F6 #B072F6
monochromatic
#DFD90E #F2ED38 #F6F272 #FAF7AC #FDFCE2

Accessibility & contrast

On white

1.18
#F6F272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#F6F272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F272
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F272#FFFFFF#000000##000000
##F6F2721.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFEF79
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f6f272;
/* rgb */ color: rgb(246, 242, 114);
/* oklch */ color: oklch(94.0% 0.150 107.3);
Tailwind
colors: {
  custom: {
    50: '#fcf69e',
    500: '#f6f272',
    950: '#000000',
  },
}
SCSS
$custom: #f6f272;
$custom-light: #fcf69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f272",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 114
  },
  "hsl": {
    "h": 58.182,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93956,
    "c": 0.14954,
    "h": 107.3
  },
  "luminance": 0.84312
}

Semantic roles & 50–950 ramp

primary
#F6F272
secondary
#3C40D1
accent
#08E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F272

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

Preview Lab → · Contrast checker → · Palette generator →

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