#FFFF8B#FFFF8B

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

Color values

HEX#FFFF8B
RGBrgb(255, 255, 139)
HSLhsl(60, 100%, 77%)
HSVhsv(60, 45%, 100%)
CMYKcmyk(0%, 0%, 45.5%, 0%)
CIE-LABlab(97.89, -15.58, 55.08)
CIE-LCHlch(97.89, 57.24, 105.80°)
OKLaboklab(97.64% -0.0445 0.1314)
OKLCHoklch(97.64% 0.139 108.7)
XYZxyz(81.6618, 94.6459, 38.3878)
Luminance0.9464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF8B #8B8BFF
analogous
#FFC58B #FFFF8B #C5FF8B
triadic
#FFFF8B #8BFFFF #FF8BFF
tetradic
#FFFF8B #8BFFC5 #8B8BFF #FF8BC5
square
#FFFF8B #8BFFC5 #8B8BFF #FF8BC5
split-complementary
#FFFF8B #8BC5FF #C58BFF
monochromatic
#FFFF11 #FFFF4E #FFFF8B #FFFFC8 #FFFFE0

Accessibility & contrast

On white

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

On black

19.93
#FFFF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF8B
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF8B#FFFFFF#000000##000000
##FFFF8B1.001.0519.9319.93
#FFFFFF1.051.0021.0021.00
#00000019.9321.001.001.00
##00000019.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffff8b;
/* rgb */ color: rgb(255, 255, 139);
/* oklch */ color: oklch(97.6% 0.139 108.7);
Tailwind
colors: {
  custom: {
    50: '#ffffaf',
    500: '#ffff8b',
    950: '#000000',
  },
}
SCSS
$custom: #ffff8b;
$custom-light: #ffffaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff8b",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 139
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.9764,
    "c": 0.13878,
    "h": 108.7
  },
  "luminance": 0.94644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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