#FFF161#FFF161

#FFF161 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.162 H 103.8°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#FFF161
RGBrgb(255, 241, 97)
HSLhsl(55, 100%, 69%)
HSVhsv(55, 62%, 100%)
CMYKcmyk(0%, 5.5%, 62%, 0%)
CIE-LABlab(93.90, -11.96, 69.04)
CIE-LCHlch(93.90, 70.07, 99.83°)
OKLaboklab(94.33% -0.0385 0.1572)
OKLCHoklch(94.33% 0.162 103.8)
XYZxyz(74.8558, 85.0364, 23.7776)
Luminance0.8503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF161 #616FFF
analogous
#FFA261 #FFF161 #BEFF61
triadic
#FFF161 #61FFF1 #F161FF
tetradic
#FFF161 #61FFA2 #616FFF #FF61BE
square
#FFF161 #61FFA2 #616FFF #FF61BE
split-complementary
#FFF161 #61BEFF #A261FF
monochromatic
#E6D100 #FFEC24 #FFF161 #FFF69E #FFFCDB

Accessibility & contrast

On white

1.17
#FFF161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#FFF161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF161
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF161#FFFFFF#000000##000000
##FFF1611.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE950
Deuteranopia (green-blind)
#FFF169
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fff161;
/* rgb */ color: rgb(255, 241, 97);
/* oklch */ color: oklch(94.3% 0.162 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff594',
    500: '#fff161',
    950: '#000000',
  },
}
SCSS
$custom: #fff161;
$custom-light: #fff594;
$custom-dark: #000000;
JSON
{
  "hex": "#fff161",
  "rgb": {
    "r": 255,
    "g": 241,
    "b": 97
  },
  "hsl": {
    "h": 54.684,
    "s": 100,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94329,
    "c": 0.16182,
    "h": 103.8
  },
  "luminance": 0.85034
}

Semantic roles & 50–950 ramp

primary
#FFF161
secondary
#2B3ADA
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFF161

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

Preview Lab → · Contrast checker → · Palette generator →

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