#F6F78A#F6F78A

#F6F78A is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.3% C 0.132 H 109.1°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#F6F78A
RGBrgb(246, 247, 138)
HSLhsl(61, 87%, 75%)
HSVhsv(61, 44%, 97%)
CMYKcmyk(0.4%, 0%, 44.1%, 3.1%)
CIE-LABlab(95.14, -15.26, 52.03)
CIE-LCHlch(95.14, 54.22, 106.35°)
OKLaboklab(95.28% -0.0433 0.1247)
OKLCHoklch(95.28% 0.132 109.1)
XYZxyz(75.8556, 87.9510, 37.0201)
Luminance0.8795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F78A #8B8AF7
analogous
#F7C18A #F6F78A #C0F78A
triadic
#F6F78A #8AF6F7 #F78AF6
tetradic
#F6F78A #8AF7C1 #8B8AF7 #F78AC0
square
#F6F78A #8AF7C1 #8B8AF7 #F78AC0
split-complementary
#F6F78A #8AC0F7 #C18AF7
monochromatic
#EDEF17 #F2F351 #F6F78A #FAFBC3 #FDFDE2

Accessibility & contrast

On white

1.13
#F6F78A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#F6F78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F78A
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F78A#FFFFFF#000000##000000
##F6F78A1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF81
Deuteranopia (green-blind)
#FFF38F
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f6f78a;
/* rgb */ color: rgb(246, 247, 138);
/* oklch */ color: oklch(95.3% 0.132 109.1);
Tailwind
colors: {
  custom: {
    50: '#fbf9ae',
    500: '#f6f78a',
    950: '#000000',
  },
}
SCSS
$custom: #f6f78a;
$custom-light: #fbf9ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f78a",
  "rgb": {
    "r": 246,
    "g": 247,
    "b": 138
  },
  "hsl": {
    "h": 60.55,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95278,
    "c": 0.13203,
    "h": 109.1
  },
  "luminance": 0.87949
}

Semantic roles & 50–950 ramp

primary
#F6F78A
secondary
#5250D5
accent
#02E404
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6F78A

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

Preview Lab → · Contrast checker → · Palette generator →

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