#F6E97A#F6E97A

#F6E97A is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.2% C 0.133 H 102.6°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#F6E97A
RGBrgb(246, 233, 122)
HSLhsl(54, 87%, 72%)
HSVhsv(54, 50%, 96%)
CMYKcmyk(0%, 5.3%, 50.4%, 3.5%)
CIE-LABlab(91.36, -9.81, 54.98)
CIE-LCHlch(91.36, 55.85, 100.12°)
OKLaboklab(92.21% -0.0292 0.13)
OKLCHoklch(92.21% 0.133 102.6)
XYZxyz(70.6598, 79.2781, 29.9887)
Luminance0.7928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E97A #7A87F6
analogous
#F6AB7A #F6E97A #C5F67A
triadic
#F6E97A #7AF6E9 #E97AF6
tetradic
#F6E97A #7AF6AB #7A87F6 #F67AC5
square
#F6E97A #7AF6AB #7A87F6 #F67AC5
split-complementary
#F6E97A #7AC5F6 #AB7AF6
monochromatic
#E6D010 #F2E041 #F6E97A #FAF2B3 #FDFAE2

Accessibility & contrast

On white

1.25
#F6E97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#F6E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E97A
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E97A#FFFFFF#000000##000000
##F6E97A1.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE370
Deuteranopia (green-blind)
#FEE97F
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f6e97a;
/* rgb */ color: rgb(246, 233, 122);
/* oklch */ color: oklch(92.2% 0.133 102.6);
Tailwind
colors: {
  custom: {
    50: '#fbefa3',
    500: '#f6e97a',
    950: '#000000',
  },
}
SCSS
$custom: #f6e97a;
$custom-light: #fbefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e97a",
  "rgb": {
    "r": 246,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 53.71,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92213,
    "c": 0.13322,
    "h": 102.6
  },
  "luminance": 0.79276
}

Semantic roles & 50–950 ramp

primary
#F6E97A
secondary
#4352D2
accent
#19E402
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F6E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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