#FFFF7B#FFFF7B

#FFFF7B is a very light, vivid yellow. Relative luminance 0.942; OKLCH L 97.4% C 0.154 H 108.9°. Best body text is #000000 at 19.84:1 contrast (WCAG AA passes).

Color values

HEX#FFFF7B
RGBrgb(255, 255, 123)
HSLhsl(60, 100%, 74%)
HSVhsv(60, 52%, 100%)
CMYKcmyk(0%, 0%, 51.8%, 0%)
CIE-LABlab(97.72, -16.94, 62.16)
CIE-LCHlch(97.72, 64.43, 105.25°)
OKLaboklab(97.45% -0.05 0.1456)
OKLCHoklch(97.45% 0.154 108.9)
XYZxyz(80.5772, 94.2121, 32.6752)
Luminance0.9421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF7B #7B7BFF
analogous
#FFBD7B #FFFF7B #BDFF7B
triadic
#FFFF7B #7BFFFF #FF7BFF
tetradic
#FFFF7B #7BFFBD #7B7BFF #FF7BBD
square
#FFFF7B #7BFFBD #7B7BFF #FF7BBD
split-complementary
#FFFF7B #7BBDFF #BD7BFF
monochromatic
#FFFF01 #FFFF3E #FFFF7B #FFFFB8 #FFFFE0

Accessibility & contrast

On white

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

On black

19.84
#FFFF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF7B
19.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF7B#FFFFFF#000000##000000
##FFFF7B1.001.0619.8419.84
#FFFFFF1.061.0021.0021.00
#00000019.8421.001.001.00
##00000019.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF66E
Deuteranopia (green-blind)
#FFFB82
Tritanopia (blue-blind)
#FFF1E1
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff7b;
/* rgb */ color: rgb(255, 255, 123);
/* oklch */ color: oklch(97.4% 0.154 108.9);
Tailwind
colors: {
  custom: {
    50: '#ffffa5',
    500: '#ffff7b',
    950: '#000000',
  },
}
SCSS
$custom: #ffff7b;
$custom-light: #ffffa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff7b",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 123
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.97445,
    "c": 0.15389,
    "h": 108.9
  },
  "luminance": 0.9421
}

Semantic roles & 50–950 ramp

primary
#FFFF7B
secondary
#4141DD
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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