#F6F270#F6F270

#F6F270 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.9% C 0.151 H 107.4°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#F6F270
RGBrgb(246, 242, 112)
HSLhsl(58, 88%, 70%)
HSVhsv(58, 54%, 96%)
CMYKcmyk(0%, 1.6%, 54.5%, 3.5%)
CIE-LABlab(93.57, -15.04, 62.09)
CIE-LCHlch(93.57, 63.88, 103.62°)
OKLaboklab(93.93% -0.0451 0.1444)
OKLCHoklch(93.93% 0.151 107.4)
XYZxyz(72.6849, 84.2690, 27.7628)
Luminance0.8427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F270 #7074F6
analogous
#F6AF70 #F6F270 #B7F670
triadic
#F6F270 #70F6F2 #F270F6
tetradic
#F6F270 #70F6AF #7074F6 #F670B7
square
#F6F270 #70F6AF #7074F6 #F670B7
split-complementary
#F6F270 #70B7F6 #AF70F6
monochromatic
#DED70E #F2ED36 #F6F270 #FAF7AA #FDFCE2

Accessibility & contrast

On white

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

On black

17.85
#F6F270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F270
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F270#FFFFFF#000000##000000
##F6F2701.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA63
Deuteranopia (green-blind)
#FFEF77
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f270;
/* rgb */ color: rgb(246, 242, 112);
/* oklch */ color: oklch(93.9% 0.151 107.4);
Tailwind
colors: {
  custom: {
    50: '#fcf69d',
    500: '#f6f270',
    950: '#000000',
  },
}
SCSS
$custom: #f6f270;
$custom-light: #fcf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f270",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 58.209,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93934,
    "c": 0.15129,
    "h": 107.4
  },
  "luminance": 0.84267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F6F270

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

Preview Lab → · Contrast checker → · Palette generator →

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