#F6F273#F6F273

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

Color values

HEX#F6F273
RGBrgb(246, 242, 115)
HSLhsl(58, 88%, 71%)
HSVhsv(58, 53%, 96%)
CMYKcmyk(0%, 1.6%, 53.3%, 3.5%)
CIE-LABlab(93.60, -14.81, 60.79)
CIE-LCHlch(93.60, 62.57, 103.69°)
OKLaboklab(93.97% -0.0442 0.1419)
OKLCHoklch(93.97% 0.149 107.3)
XYZxyz(72.8547, 84.3369, 28.6572)
Luminance0.8434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F273 #7377F6
analogous
#F6B073 #F6F273 #B8F673
triadic
#F6F273 #73F6F2 #F273F6
tetradic
#F6F273 #73F6B0 #7377F6 #F673B8
square
#F6F273 #73F6B0 #7377F6 #F673B8
split-complementary
#F6F273 #73B8F6 #B073F6
monochromatic
#E0DA0E #F2ED39 #F6F273 #FAF7AD #FDFCE2

Accessibility & contrast

On white

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

On black

17.87
#F6F273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F273
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F273#FFFFFF#000000##000000
##F6F2731.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f273;
/* rgb */ color: rgb(246, 242, 115);
/* oklch */ color: oklch(94.0% 0.149 107.3);
Tailwind
colors: {
  custom: {
    50: '#fcf69f',
    500: '#f6f273',
    950: '#000000',
  },
}
SCSS
$custom: #f6f273;
$custom-light: #fcf69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f273",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 58.168,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93967,
    "c": 0.14865,
    "h": 107.3
  },
  "luminance": 0.84335
}

Semantic roles & 50–950 ramp

primary
#F6F273
secondary
#3D41D1
accent
#08E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F273

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

Preview Lab → · Contrast checker → · Palette generator →

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