#FFFF7A#FFFF7A

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

Color values

HEX#FFFF7A
RGBrgb(255, 255, 122)
HSLhsl(60, 100%, 74%)
HSVhsv(60, 52%, 100%)
CMYKcmyk(0%, 0%, 52.2%, 0%)
CIE-LABlab(97.71, -17.02, 62.60)
CIE-LCHlch(97.71, 64.87, 105.21°)
OKLaboklab(97.43% -0.0503 0.1464)
OKLCHoklch(97.43% 0.155 109)
XYZxyz(80.5149, 94.1872, 32.3472)
Luminance0.9418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF7A #7A7AFF
analogous
#FFBD7A #FFFF7A #BDFF7A
triadic
#FFFF7A #7AFFFF #FF7AFF
tetradic
#FFFF7A #7AFFBD #7A7AFF #FF7ABD
square
#FFFF7A #7AFFBD #7A7AFF #FF7ABD
split-complementary
#FFFF7A #7ABDFF #BD7AFF
monochromatic
#FFFF00 #FFFF3D #FFFF7A #FFFFB7 #FFFFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFF7A#FFFFFF#000000##000000
##FFFF7A1.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)
#FFF66D
Deuteranopia (green-blind)
#FFFB81
Tritanopia (blue-blind)
#FFF1E1
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff7a;
/* rgb */ color: rgb(255, 255, 122);
/* oklch */ color: oklch(97.4% 0.155 109.0);
Tailwind
colors: {
  custom: {
    50: '#ffffa4',
    500: '#ffff7a',
    950: '#000000',
  },
}
SCSS
$custom: #ffff7a;
$custom-light: #ffffa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff7a",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 122
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.97433,
    "c": 0.15478,
    "h": 109
  },
  "luminance": 0.94185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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