#FFFF8A#FFFF8A

#FFFF8A is a very light, vivid yellow. Relative luminance 0.946; OKLCH L 97.6% C 0.140 H 108.7°. Best body text is #000000 at 19.92:1 contrast (WCAG AA passes).

Color values

HEX#FFFF8A
RGBrgb(255, 255, 138)
HSLhsl(60, 100%, 77%)
HSVhsv(60, 46%, 100%)
CMYKcmyk(0%, 0%, 45.9%, 0%)
CIE-LABlab(97.88, -15.67, 55.53)
CIE-LCHlch(97.88, 57.70, 105.76°)
OKLaboklab(97.63% -0.0449 0.1324)
OKLCHoklch(97.63% 0.14 108.7)
XYZxyz(81.5891, 94.6169, 38.0048)
Luminance0.9462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF8A #8A8AFF
analogous
#FFC58A #FFFF8A #C5FF8A
triadic
#FFFF8A #8AFFFF #FF8AFF
tetradic
#FFFF8A #8AFFC5 #8A8AFF #FF8AC5
square
#FFFF8A #8AFFC5 #8A8AFF #FF8AC5
split-complementary
#FFFF8A #8AC5FF #C58AFF
monochromatic
#FFFF10 #FFFF4D #FFFF8A #FFFFC7 #FFFFE0

Accessibility & contrast

On white

1.05
#FFFF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.92
#FFFF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF8A
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF8A#FFFFFF#000000##000000
##FFFF8A1.001.0519.9219.92
#FFFFFF1.051.0021.0021.00
#00000019.9221.001.001.00
##00000019.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF780
Deuteranopia (green-blind)
#FFFB90
Tritanopia (blue-blind)
#FFF2E4
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #ffff8a;
/* rgb */ color: rgb(255, 255, 138);
/* oklch */ color: oklch(97.6% 0.140 108.7);
Tailwind
colors: {
  custom: {
    50: '#ffffae',
    500: '#ffff8a',
    950: '#000000',
  },
}
SCSS
$custom: #ffff8a;
$custom-light: #ffffae;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff8a",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.97627,
    "c": 0.13977,
    "h": 108.7
  },
  "luminance": 0.94615
}

Semantic roles & 50–950 ramp

primary
#FFFF8A
secondary
#4E4EE0
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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