#F6F27E#F6F27E

#F6F27E is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.138 H 107.0°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#F6F27E
RGBrgb(246, 242, 126)
HSLhsl(58, 87%, 73%)
HSVhsv(58, 49%, 96%)
CMYKcmyk(0%, 1.6%, 48.8%, 3.5%)
CIE-LABlab(93.71, -13.91, 55.92)
CIE-LCHlch(93.71, 57.63, 103.97°)
OKLaboklab(94.1% -0.0405 0.1324)
OKLCHoklch(94.1% 0.138 107)
XYZxyz(73.5258, 84.6054, 32.1920)
Luminance0.8460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F27E #7E82F6
analogous
#F6B67E #F6F27E #BEF67E
triadic
#F6F27E #7EF6F2 #F27EF6
tetradic
#F6F27E #7EF6B6 #7E82F6 #F67EBE
square
#F6F27E #7EF6B6 #7E82F6 #F67EBE
split-complementary
#F6F27E #7EBEF6 #B67EF6
monochromatic
#E9E210 #F2EC45 #F6F27E #FAF8B7 #FDFCE2

Accessibility & contrast

On white

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

On black

17.92
#F6F27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F27E
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F27E#FFFFFF#000000##000000
##F6F27E1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FFEF84
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f6f27e;
/* rgb */ color: rgb(246, 242, 126);
/* oklch */ color: oklch(94.1% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#fbf6a6',
    500: '#f6f27e',
    950: '#000000',
  },
}
SCSS
$custom: #f6f27e;
$custom-light: #fbf6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f27e",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 126
  },
  "hsl": {
    "h": 58,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94097,
    "c": 0.13846,
    "h": 107
  },
  "luminance": 0.84603
}

Semantic roles & 50–950 ramp

primary
#F6F27E
secondary
#464BD2
accent
#0AE402
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F6F27E

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

Preview Lab → · Contrast checker → · Palette generator →

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