#FFF951#FFF951

#FFF951 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.180 H 107.3°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#FFF951
RGBrgb(255, 249, 81)
HSLhsl(58, 100%, 66%)
HSVhsv(58, 68%, 100%)
CMYKcmyk(0%, 2.4%, 68.2%, 0%)
CIE-LABlab(95.83, -16.73, 77.18)
CIE-LCHlch(95.83, 78.98, 102.23°)
OKLaboklab(95.83% -0.0536 0.1719)
OKLCHoklch(95.83% 0.18 107.3)
XYZxyz(76.6037, 89.6080, 21.0439)
Luminance0.8961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF951 #5157FF
analogous
#FFA251 #FFF951 #AEFF51
triadic
#FFF951 #51FFF9 #F951FF
tetradic
#FFF951 #51FFA2 #5157FF #FF51AE
square
#FFF951 #51FFA2 #5157FF #FF51AE
split-complementary
#FFF951 #51AEFF #A251FF
monochromatic
#D6CE00 #FFF714 #FFF951 #FFFB8E #FFFDCB

Accessibility & contrast

On white

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

On black

18.92
#FFF951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF951
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF951#FFFFFF#000000##000000
##FFF9511.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff951;
/* rgb */ color: rgb(255, 249, 81);
/* oklch */ color: oklch(95.8% 0.180 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffb8b',
    500: '#fff951',
    950: '#000000',
  },
}
SCSS
$custom: #fff951;
$custom-light: #fffb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#fff951",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 81
  },
  "hsl": {
    "h": 57.931,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.95833,
    "c": 0.1801,
    "h": 107.3
  },
  "luminance": 0.89605
}

Semantic roles & 50–950 ramp

primary
#FFF951
secondary
#252BD0
accent
#08E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFF951

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

Preview Lab → · Contrast checker → · Palette generator →

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