#FFF861#FFF861

#FFF861 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.8% C 0.168 H 106.6°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#FFF861
RGBrgb(255, 248, 97)
HSLhsl(57, 100%, 69%)
HSVhsv(57, 62%, 100%)
CMYKcmyk(0%, 2.7%, 62%, 0%)
CIE-LABlab(95.69, -15.37, 70.95)
CIE-LCHlch(95.69, 72.60, 102.23°)
OKLaboklab(95.75% -0.0482 0.1612)
OKLCHoklch(95.75% 0.168 106.6)
XYZxyz(76.9677, 89.2604, 24.4816)
Luminance0.8926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF861 #6168FF
analogous
#FFA961 #FFF861 #B7FF61
triadic
#FFF861 #61FFF8 #F861FF
tetradic
#FFF861 #61FFA9 #6168FF #FF61B7
square
#FFF861 #61FFA9 #6168FF #FF61B7
split-complementary
#FFF861 #61B7FF #A961FF
monochromatic
#E6DB00 #FFF524 #FFF861 #FFFB9E #FFFDDB

Accessibility & contrast

On white

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

On black

18.85
#FFF861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF861
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF861#FFFFFF#000000##000000
##FFF8611.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF4E
Deuteranopia (green-blind)
#FFF56A
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff861;
/* rgb */ color: rgb(255, 248, 97);
/* oklch */ color: oklch(95.8% 0.168 106.6);
Tailwind
colors: {
  custom: {
    50: '#fffa94',
    500: '#fff861',
    950: '#000000',
  },
}
SCSS
$custom: #fff861;
$custom-light: #fffa94;
$custom-dark: #000000;
JSON
{
  "hex": "#fff861",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 97
  },
  "hsl": {
    "h": 57.342,
    "s": 100,
    "l": 69.02
  },
  "oklch": {
    "l": 0.95754,
    "c": 0.16827,
    "h": 106.6
  },
  "luminance": 0.89258
}

Semantic roles & 50–950 ramp

primary
#FFF861
secondary
#2B32DA
accent
#0AE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFF861

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

Preview Lab → · Contrast checker → · Palette generator →

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