#F6F072#F6F072

#F6F072 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.5% C 0.148 H 106.4°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#F6F072
RGBrgb(246, 240, 114)
HSLhsl(57, 88%, 71%)
HSVhsv(57, 54%, 96%)
CMYKcmyk(0%, 2.4%, 53.7%, 3.5%)
CIE-LABlab(93.07, -13.91, 60.63)
CIE-LCHlch(93.07, 62.21, 102.92°)
OKLaboklab(93.55% -0.0417 0.1415)
OKLCHoklch(93.55% 0.148 106.4)
XYZxyz(72.2055, 83.1300, 28.1585)
Luminance0.8313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F072 #7278F6
analogous
#F6AE72 #F6F072 #BAF672
triadic
#F6F072 #72F6F0 #F072F6
tetradic
#F6F072 #72F6AE #7278F6 #F672BA
square
#F6F072 #72F6AE #7278F6 #F672BA
split-complementary
#F6F072 #72BAF6 #AE72F6
monochromatic
#DFD60E #F2EA38 #F6F072 #FAF6AC #FDFCE2

Accessibility & contrast

On white

1.19
#F6F072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#F6F072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F072
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F072#FFFFFF#000000##000000
##F6F0721.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE866
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f6f072;
/* rgb */ color: rgb(246, 240, 114);
/* oklch */ color: oklch(93.5% 0.148 106.4);
Tailwind
colors: {
  custom: {
    50: '#fcf49e',
    500: '#f6f072',
    950: '#000000',
  },
}
SCSS
$custom: #f6f072;
$custom-light: #fcf49e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f072",
  "rgb": {
    "r": 246,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 57.273,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93545,
    "c": 0.14751,
    "h": 106.4
  },
  "luminance": 0.83128
}

Semantic roles & 50–950 ramp

primary
#F6F072
secondary
#3C42D1
accent
#0BE501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F072

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

Preview Lab → · Contrast checker → · Palette generator →

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