#FFFF9E#FFFF9E

#FFFF9E is a very light, moderate yellow. Relative luminance 0.952; OKLCH L 97.9% C 0.119 H 108.4°. Best body text is #000000 at 20.05:1 contrast (WCAG AA passes).

Color values

HEX#FFFF9E
RGBrgb(255, 255, 158)
HSLhsl(60, 100%, 81%)
HSVhsv(60, 38%, 100%)
CMYKcmyk(0%, 0%, 38%, 0%)
CIE-LABlab(98.13, -13.71, 46.34)
CIE-LCHlch(98.13, 48.32, 106.48°)
OKLaboklab(97.91% -0.0376 0.113)
OKLCHoklch(97.91% 0.119 108.4)
XYZxyz(83.1727, 95.2503, 46.3449)
Luminance0.9525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF9E #9E9EFF
analogous
#FFCE9E #FFFF9E #CEFF9E
triadic
#FFFF9E #9EFFFF #FF9EFF
tetradic
#FFFF9E #9EFFCE #9E9EFF #FF9ECE
square
#FFFF9E #9EFFCE #9E9EFF #FF9ECE
split-complementary
#FFFF9E #9ECEFF #CE9EFF
monochromatic
#FFFF24 #FFFF61 #FFFF9E #FFFFDB #FFFFE0

Accessibility & contrast

On white

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

On black

20.05
#FFFF9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF9E
20.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF9E#FFFFFF#000000##000000
##FFFF9E1.001.0520.0520.05
#FFFFFF1.051.0021.0021.00
#00000020.0521.001.001.00
##00000020.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF897
Deuteranopia (green-blind)
#FFFBA2
Tritanopia (blue-blind)
#FFF4E7
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #ffff9e;
/* rgb */ color: rgb(255, 255, 158);
/* oklch */ color: oklch(97.9% 0.119 108.4);
Tailwind
colors: {
  custom: {
    50: '#ffffbc',
    500: '#ffff9e',
    950: '#000000',
  },
}
SCSS
$custom: #ffff9e;
$custom-light: #ffffbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff9e",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 158
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.97911,
    "c": 0.11909,
    "h": 108.4
  },
  "luminance": 0.95249
}

Semantic roles & 50–950 ramp

primary
#FFFF9E
secondary
#5F5FE3
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFF9E

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

Preview Lab → · Contrast checker → · Palette generator →

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