#FFF962#FFF962

#FFF962 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.0% C 0.168 H 107.0°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#FFF962
RGBrgb(255, 249, 98)
HSLhsl(58, 100%, 69%)
HSVhsv(58, 62%, 100%)
CMYKcmyk(0%, 2.4%, 61.6%, 0%)
CIE-LABlab(95.95, -15.80, 70.83)
CIE-LCHlch(95.95, 72.57, 102.57°)
OKLaboklab(95.97% -0.0493 0.1611)
OKLCHoklch(95.97% 0.168 107)
XYZxyz(77.3229, 89.8957, 24.8314)
Luminance0.8989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF962 #6268FF
analogous
#FFAB62 #FFF962 #B7FF62
triadic
#FFF962 #62FFF9 #F962FF
tetradic
#FFF962 #62FFAB #6268FF #FF62B7
square
#FFF962 #62FFAB #6268FF #FF62B7
split-complementary
#FFF962 #62B7FF #AB62FF
monochromatic
#E7DE00 #FFF725 #FFF962 #FFFB9F #FFFEDC

Accessibility & contrast

On white

1.11
#FFF962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.98
#FFF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF962
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF962#FFFFFF#000000##000000
##FFF9621.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04F
Deuteranopia (green-blind)
#FFF66B
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff962;
/* rgb */ color: rgb(255, 249, 98);
/* oklch */ color: oklch(96.0% 0.168 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffb95',
    500: '#fff962',
    950: '#000000',
  },
}
SCSS
$custom: #fff962;
$custom-light: #fffb95;
$custom-dark: #000000;
JSON
{
  "hex": "#fff962",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 57.707,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95967,
    "c": 0.16847,
    "h": 107
  },
  "luminance": 0.89893
}

Semantic roles & 50–950 ramp

primary
#FFF962
secondary
#2C32DA
accent
#09E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFF962

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

Preview Lab → · Contrast checker → · Palette generator →

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