#FFFF7F#FFFF7F

#FFFF7F is a very light, vivid yellow. Relative luminance 0.943; OKLCH L 97.5% C 0.150 H 108.9°. Best body text is #000000 at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#FFFF7F
RGBrgb(255, 255, 127)
HSLhsl(60, 100%, 75%)
HSVhsv(60, 50%, 100%)
CMYKcmyk(0%, 0%, 50.2%, 0%)
CIE-LABlab(97.76, -16.62, 60.42)
CIE-LCHlch(97.76, 62.67, 105.38°)
OKLaboklab(97.49% -0.0486 0.1422)
OKLCHoklch(97.49% 0.15 108.9)
XYZxyz(80.8327, 94.3143, 34.0210)
Luminance0.9431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF7F #7F7FFF
analogous
#FFBF7F #FFFF7F #BFFF7F
triadic
#FFFF7F #7FFFFF #FF7FFF
tetradic
#FFFF7F #7FFFBF #7F7FFF #FF7FBF
square
#FFFF7F #7FFFBF #7F7FFF #FF7FBF
split-complementary
#FFFF7F #7FBFFF #BF7FFF
monochromatic
#FFFF05 #FFFF42 #FFFF7F #FFFFBC #FFFFE0

Accessibility & contrast

On white

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

On black

19.86
#FFFF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF7F
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF7F#FFFFFF#000000##000000
##FFFF7F1.001.0619.8619.86
#FFFFFF1.061.0021.0021.00
#00000019.8621.001.001.00
##00000019.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF673
Deuteranopia (green-blind)
#FFFB86
Tritanopia (blue-blind)
#FFF1E2
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #ffff7f;
/* rgb */ color: rgb(255, 255, 127);
/* oklch */ color: oklch(97.5% 0.150 108.9);
Tailwind
colors: {
  custom: {
    50: '#ffffa7',
    500: '#ffff7f',
    950: '#000000',
  },
}
SCSS
$custom: #ffff7f;
$custom-light: #ffffa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff7f",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.97491,
    "c": 0.15025,
    "h": 108.9
  },
  "luminance": 0.94312
}

Semantic roles & 50–950 ramp

primary
#FFFF7F
secondary
#4444DE
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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