#F6F282#F6F282

#F6F282 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.1% C 0.135 H 106.9°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#F6F282
RGBrgb(246, 242, 130)
HSLhsl(58, 87%, 74%)
HSVhsv(58, 47%, 96%)
CMYKcmyk(0%, 1.6%, 47.2%, 3.5%)
CIE-LABlab(93.76, -13.56, 54.12)
CIE-LCHlch(93.76, 55.79, 104.07°)
OKLaboklab(94.15% -0.0391 0.1288)
OKLCHoklch(94.15% 0.135 106.9)
XYZxyz(73.7891, 84.7107, 33.5786)
Luminance0.8471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F282 #8286F6
analogous
#F6B882 #F6F282 #C0F682
triadic
#F6F282 #82F6F2 #F282F6
tetradic
#F6F282 #82F6B8 #8286F6 #F682C0
square
#F6F282 #82F6B8 #8286F6 #F682C0
split-complementary
#F6F282 #82C0F6 #B882F6
monochromatic
#EDE511 #F2EC49 #F6F282 #FAF8BB #FDFCE2

Accessibility & contrast

On white

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

On black

17.94
#F6F282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F282
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F282#FFFFFF#000000##000000
##F6F2821.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA78
Deuteranopia (green-blind)
#FFEF87
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f6f282;
/* rgb */ color: rgb(246, 242, 130);
/* oklch */ color: oklch(94.1% 0.135 106.9);
Tailwind
colors: {
  custom: {
    50: '#fbf6a8',
    500: '#f6f282',
    950: '#000000',
  },
}
SCSS
$custom: #f6f282;
$custom-light: #fbf6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f282",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 57.931,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94148,
    "c": 0.13457,
    "h": 106.9
  },
  "luminance": 0.84709
}

Semantic roles & 50–950 ramp

primary
#F6F282
secondary
#4A4ED3
accent
#0AE302
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6F282

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

Preview Lab → · Contrast checker → · Palette generator →

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