#FFF181#FFF181

#FFF181 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.7% C 0.134 H 102.2°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#FFF181
RGBrgb(255, 241, 129)
HSLhsl(53, 100%, 75%)
HSVhsv(53, 49%, 100%)
CMYKcmyk(0%, 5.5%, 49.4%, 0%)
CIE-LABlab(94.21, -9.62, 55.29)
CIE-LCHlch(94.21, 56.12, 99.87°)
OKLaboklab(94.68% -0.0284 0.1312)
OKLCHoklch(94.68% 0.134 102.2)
XYZxyz(76.6599, 85.7581, 33.2795)
Luminance0.8576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF181 #818FFF
analogous
#FFB281 #FFF181 #CEFF81
triadic
#FFF181 #81FFF1 #F181FF
tetradic
#FFF181 #81FFB2 #818FFF #FF81CE
square
#FFF181 #81FFB2 #818FFF #FF81CE
split-complementary
#FFF181 #81CEFF #B281FF
monochromatic
#FFE307 #FFEA44 #FFF181 #FFF8BE #FFFCE0

Accessibility & contrast

On white

1.16
#FFF181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#FFF181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF181
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF181#FFFFFF#000000##000000
##FFF1811.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFF186
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff181;
/* rgb */ color: rgb(255, 241, 129);
/* oklch */ color: oklch(94.7% 0.134 102.2);
Tailwind
colors: {
  custom: {
    50: '#fff5a8',
    500: '#fff181',
    950: '#000000',
  },
}
SCSS
$custom: #fff181;
$custom-light: #fff5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fff181",
  "rgb": {
    "r": 255,
    "g": 241,
    "b": 129
  },
  "hsl": {
    "h": 53.333,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94675,
    "c": 0.13419,
    "h": 102.2
  },
  "luminance": 0.85756
}

Semantic roles & 50–950 ramp

primary
#FFF181
secondary
#4657DE
accent
#1AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF181

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

Preview Lab → · Contrast checker → · Palette generator →

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