#FFFFA7#FFFFA7

#FFFFA7 is a very light, moderate yellow. Relative luminance 0.956; OKLCH L 98.1% C 0.109 H 108.3°. Best body text is #000000 at 20.11:1 contrast (WCAG AA passes).

Color values

HEX#FFFFA7
RGBrgb(255, 255, 167)
HSLhsl(60, 100%, 83%)
HSVhsv(60, 35%, 100%)
CMYKcmyk(0%, 0%, 34.5%, 0%)
CIE-LABlab(98.26, -12.73, 42.11)
CIE-LCHlch(98.26, 43.99, 106.82°)
OKLaboklab(98.05% -0.0342 0.1037)
OKLCHoklch(98.05% 0.109 108.3)
XYZxyz(83.9759, 95.5716, 50.5751)
Luminance0.9557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFA7 #A7A7FF
analogous
#FFD3A7 #FFFFA7 #D3FFA7
triadic
#FFFFA7 #A7FFFF #FFA7FF
tetradic
#FFFFA7 #A7FFD3 #A7A7FF #FFA7D3
square
#FFFFA7 #A7FFD3 #A7A7FF #FFA7D3
split-complementary
#FFFFA7 #A7D3FF #D3A7FF
monochromatic
#FFFF2D #FFFF6A #FFFFA7 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.04
#FFFFA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.11
#FFFFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFA7
20.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFA7#FFFFFF#000000##000000
##FFFFA71.001.0420.1120.11
#FFFFFF1.041.0021.0021.00
#00000020.1121.001.001.00
##00000020.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8A1
Deuteranopia (green-blind)
#FFFCAB
Tritanopia (blue-blind)
#FFF5E9
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #ffffa7;
/* rgb */ color: rgb(255, 255, 167);
/* oklch */ color: oklch(98.1% 0.109 108.3);
Tailwind
colors: {
  custom: {
    50: '#ffffc2',
    500: '#ffffa7',
    950: '#000000',
  },
}
SCSS
$custom: #ffffa7;
$custom-light: #ffffc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffa7",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 167
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.98054,
    "c": 0.10918,
    "h": 108.3
  },
  "luminance": 0.9557
}

Semantic roles & 50–950 ramp

primary
#FFFFA7
secondary
#6666E4
accent
#00E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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