#FFFA08#FFFA08

#FFFA08 is a very light, highly saturated yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.206 H 108.2°. Best body text is #000000 at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#FFFA08
RGBrgb(255, 250, 8)
HSLhsl(59, 100%, 52%)
HSVhsv(59, 97%, 100%)
CMYKcmyk(0%, 2%, 96.9%, 0%)
CIE-LABlab(95.85, -19.11, 92.98)
CIE-LCHlch(95.85, 94.92, 101.62°)
OKLaboklab(95.77% -0.0645 0.1957)
OKLCHoklch(95.77% 0.206 108.2)
XYZxyz(75.4728, 89.6515, 13.5586)
Luminance0.8965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA08 #080DFF
analogous
#FF7E08 #FFFA08 #89FF08
triadic
#FFFA08 #08FFFA #FA08FF
tetradic
#FFFA08 #08FF7E #080DFF #FF0889
square
#FFFA08 #08FF7E #080DFF #FF0889
split-complementary
#FFFA08 #0889FF #7E08FF
monochromatic
#8D8A00 #CAC600 #FFFA08 #FFFB45 #FFFC82

Accessibility & contrast

On white

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

On black

18.93
#FFFA08 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA08
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA08#FFFFFF#000000##000000
##FFFA081.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF00
Deuteranopia (green-blind)
#FFF632
Tritanopia (blue-blind)
#FFE9D5
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fffa08;
/* rgb */ color: rgb(255, 250, 8);
/* oklch */ color: oklch(95.8% 0.206 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffb73',
    500: '#fffa08',
    950: '#000000',
  },
}
SCSS
$custom: #fffa08;
$custom-light: #fffb73;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa08",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 8
  },
  "hsl": {
    "h": 58.785,
    "s": 100,
    "l": 51.569
  },
  "oklch": {
    "l": 0.95772,
    "c": 0.20601,
    "h": 108.2
  },
  "luminance": 0.89649
}

Semantic roles & 50–950 ramp

primary
#FFFA08
secondary
#1A1C92
accent
#2DFF29
background
#FFFFFB
surface
#FFFFF2
border
#D7D7CC
text
#19170A
muted
#87857D

Preview Lab

Preview with #FFFA08

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

Preview Lab → · Contrast checker → · Palette generator →

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