#F6E962#F6E962

#F6E962 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.9% C 0.154 H 103.8°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#F6E962
RGBrgb(246, 233, 98)
HSLhsl(55, 89%, 67%)
HSVhsv(55, 60%, 96%)
CMYKcmyk(0%, 5.3%, 60.2%, 3.5%)
CIE-LABlab(91.12, -11.60, 65.41)
CIE-LCHlch(91.12, 66.43, 100.06°)
OKLaboklab(91.95% -0.0368 0.1498)
OKLCHoklch(91.95% 0.154 103.8)
XYZxyz(69.3520, 78.7550, 23.1010)
Luminance0.7875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E962 #626FF6
analogous
#F69F62 #F6E962 #B9F662
triadic
#F6E962 #62F6E9 #E962F6
tetradic
#F6E962 #62F69F #626FF6 #F662B9
square
#F6E962 #62F69F #626FF6 #F662B9
split-complementary
#F6E962 #62B9F6 #9F62F6
monochromatic
#D2C00C #F3E128 #F6E962 #F9F19C #FDF9D6

Accessibility & contrast

On white

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

On black

16.75
#F6E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E962
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E962#FFFFFF#000000##000000
##F6E9621.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE253
Deuteranopia (green-blind)
#FFE969
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f6e962;
/* rgb */ color: rgb(246, 233, 98);
/* oklch */ color: oklch(91.9% 0.154 103.8);
Tailwind
colors: {
  custom: {
    50: '#fcef94',
    500: '#f6e962',
    950: '#000000',
  },
}
SCSS
$custom: #f6e962;
$custom-light: #fcef94;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e962",
  "rgb": {
    "r": 246,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 54.73,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91948,
    "c": 0.15429,
    "h": 103.8
  },
  "luminance": 0.78752
}

Semantic roles & 50–950 ramp

primary
#F6E962
secondary
#2F3DCD
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F6E962

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

Preview Lab → · Contrast checker → · Palette generator →

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