#FFFF5F#FFFF5F

#FFFF5F is a very light, vivid yellow. Relative luminance 0.936; OKLCH L 97.2% C 0.176 H 109.3°. Best body text is #000000 at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#FFFF5F
RGBrgb(255, 255, 95)
HSLhsl(60, 100%, 69%)
HSVhsv(60, 63%, 100%)
CMYKcmyk(0%, 0%, 62.7%, 0%)
CIE-LABlab(97.47, -18.87, 73.62)
CIE-LCHlch(97.47, 76.00, 104.37°)
OKLaboklab(97.17% -0.0583 0.1666)
OKLCHoklch(97.17% 0.176 109.3)
XYZxyz(79.0681, 93.6084, 24.7274)
Luminance0.9361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF5F #5F5FFF
analogous
#FFAF5F #FFFF5F #AFFF5F
triadic
#FFFF5F #5FFFFF #FF5FFF
tetradic
#FFFF5F #5FFFAF #5F5FFF #FF5FAF
square
#FFFF5F #5FFFAF #5F5FFF #FF5FAF
split-complementary
#FFFF5F #5FAFFF #AF5FFF
monochromatic
#E4E400 #FFFF22 #FFFF5F #FFFF9C #FFFFD9

Accessibility & contrast

On white

1.06
#FFFF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.72
#FFFF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF5F
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF5F#FFFFFF#000000##000000
##FFFF5F1.001.0619.7219.72
#FFFFFF1.061.0021.0021.00
#00000019.7221.001.001.00
##00000019.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF54A
Deuteranopia (green-blind)
#FFFA69
Tritanopia (blue-blind)
#FFF0DE
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff5f;
/* rgb */ color: rgb(255, 255, 95);
/* oklch */ color: oklch(97.2% 0.176 109.3);
Tailwind
colors: {
  custom: {
    50: '#ffff94',
    500: '#ffff5f',
    950: '#000000',
  },
}
SCSS
$custom: #ffff5f;
$custom-light: #ffff94;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff5f",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.97172,
    "c": 0.17647,
    "h": 109.3
  },
  "luminance": 0.93606
}

Semantic roles & 50–950 ramp

primary
#FFFF5F
secondary
#2929D9
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFFF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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