#FFFF8E#FFFF8E

#FFFF8E is a very light, vivid yellow. Relative luminance 0.947; OKLCH L 97.7% C 0.136 H 108.7°. Best body text is #000000 at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#FFFF8E
RGBrgb(255, 255, 142)
HSLhsl(60, 100%, 78%)
HSVhsv(60, 44%, 100%)
CMYKcmyk(0%, 0%, 44.3%, 0%)
CIE-LABlab(97.93, -15.30, 53.72)
CIE-LCHlch(97.93, 55.85, 105.90°)
OKLaboklab(97.68% -0.0435 0.1286)
OKLCHoklch(97.68% 0.136 108.7)
XYZxyz(81.8840, 94.7348, 39.5581)
Luminance0.9473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF8E #8E8EFF
analogous
#FFC68E #FFFF8E #C6FF8E
triadic
#FFFF8E #8EFFFF #FF8EFF
tetradic
#FFFF8E #8EFFC6 #8E8EFF #FF8EC6
square
#FFFF8E #8EFFC6 #8E8EFF #FF8EC6
split-complementary
#FFFF8E #8EC6FF #C68EFF
monochromatic
#FFFF14 #FFFF51 #FFFF8E #FFFFCB #FFFFE0

Accessibility & contrast

On white

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

On black

19.95
#FFFF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF8E
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF8E#FFFFFF#000000##000000
##FFFF8E1.001.0519.9519.95
#FFFFFF1.051.0021.0021.00
#00000019.9521.001.001.00
##00000019.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF784
Deuteranopia (green-blind)
#FFFB93
Tritanopia (blue-blind)
#FFF3E4
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #ffff8e;
/* rgb */ color: rgb(255, 255, 142);
/* oklch */ color: oklch(97.7% 0.136 108.7);
Tailwind
colors: {
  custom: {
    50: '#ffffb1',
    500: '#ffff8e',
    950: '#000000',
  },
}
SCSS
$custom: #ffff8e;
$custom-light: #ffffb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff8e",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 142
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.9768,
    "c": 0.1358,
    "h": 108.7
  },
  "luminance": 0.94733
}

Semantic roles & 50–950 ramp

primary
#FFFF8E
secondary
#5151E0
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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