#FAFF08#FAFF08

#FAFF08 is a very light, highly saturated yellow. Relative luminance 0.919; OKLCH L 96.4% C 0.211 H 111.2°. Best body text is #000000 at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#FAFF08
RGBrgb(250, 255, 8)
HSLhsl(61, 100%, 52%)
HSVhsv(61, 97%, 100%)
CMYKcmyk(2%, 0%, 96.9%, 0%)
CIE-LABlab(96.76, -23.54, 93.48)
CIE-LCHlch(96.76, 96.40, 104.14°)
OKLaboklab(96.41% -0.0765 0.1971)
OKLCHoklch(96.41% 0.211 111.2)
XYZxyz(75.2312, 91.8637, 13.9982)
Luminance0.9186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF08 #0D08FF
analogous
#FF8908 #FAFF08 #7EFF08
triadic
#FAFF08 #08FAFF #FF08FA
tetradic
#FAFF08 #08FF89 #0D08FF #FF087E
square
#FAFF08 #08FF89 #0D08FF #FF087E
split-complementary
#FAFF08 #087EFF #8908FF
monochromatic
#8A8D00 #C6CA00 #FAFF08 #FBFF45 #FCFF82

Accessibility & contrast

On white

1.08
#FAFF08 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.37
#FAFF08 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFF08
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFF08#FFFFFF#000000##000000
##FAFF081.001.0819.3719.37
#FFFFFF1.081.0021.0021.00
#00000019.3721.001.001.00
##00000019.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF300
Deuteranopia (green-blind)
#FFF834
Tritanopia (blue-blind)
#FFEED9
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #faff08;
/* rgb */ color: rgb(250, 255, 8);
/* oklch */ color: oklch(96.4% 0.211 111.2);
Tailwind
colors: {
  custom: {
    50: '#ffff74',
    500: '#faff08',
    950: '#000000',
  },
}
SCSS
$custom: #faff08;
$custom-light: #ffff74;
$custom-dark: #000000;
JSON
{
  "hex": "#faff08",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 8
  },
  "hsl": {
    "h": 61.215,
    "s": 100,
    "l": 51.569
  },
  "oklch": {
    "l": 0.96407,
    "c": 0.21141,
    "h": 111.2
  },
  "luminance": 0.91862
}

Semantic roles & 50–950 ramp

primary
#FAFF08
secondary
#1C1A92
accent
#29FF2D
background
#FFFFFB
surface
#FFFFF2
border
#D7D7CC
text
#19170A
muted
#87857D

Preview Lab

Preview with #FAFF08

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

Preview Lab → · Contrast checker → · Palette generator →

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