#A4A151#A4A151

#A4A151 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.103 H 106.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A4A151
RGBrgb(164, 161, 81)
HSLhsl(58, 34%, 48%)
HSVhsv(58, 51%, 64%)
CMYKcmyk(0%, 1.8%, 50.6%, 35.7%)
CIE-LABlab(64.94, -10.21, 41.62)
CIE-LCHlch(64.94, 42.86, 103.79°)
OKLaboklab(69.43% -0.0298 0.0984)
OKLCHoklch(69.43% 0.103 106.9)
XYZxyz(29.5406, 33.9771, 12.7851)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A151 #5154A4
analogous
#A47751 #A4A151 #7DA451
triadic
#A4A151 #51A4A1 #A151A4
tetradic
#A4A151 #51A477 #5154A4 #A4517D
square
#A4A151 #51A477 #5154A4 #A4517D
split-complementary
#A4A151 #517DA4 #7751A4
monochromatic
#525129 #7B793D #A4A151 #BCB977 #D0CEA0

Accessibility & contrast

On white

2.69
#A4A151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A4A151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A151
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A151#FFFFFF#000000##000000
##A4A1511.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C4A
Deuteranopia (green-blind)
#AE9F55
Tritanopia (blue-blind)
#AE988F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a4a151;
/* rgb */ color: rgb(164, 161, 81);
/* oklch */ color: oklch(69.4% 0.103 106.9);
Tailwind
colors: {
  custom: {
    50: '#c1bc84',
    500: '#a4a151',
    950: '#000000',
  },
}
SCSS
$custom: #a4a151;
$custom-light: #c1bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a151",
  "rgb": {
    "r": 164,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 57.831,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69425,
    "c": 0.10283,
    "h": 106.9
  },
  "luminance": 0.33976
}

Semantic roles & 50–950 ramp

primary
#A4A151
secondary
#9495BD
accent
#62CA5E
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A4A151

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

Preview Lab → · Contrast checker → · Palette generator →

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