#A4A71F#A4A71F

#A4A71F is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.146 H 111.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A4A71F
RGBrgb(164, 167, 31)
HSLhsl(61, 69%, 39%)
HSVhsv(61, 81%, 65%)
CMYKcmyk(1.8%, 0%, 81.4%, 34.5%)
CIE-LABlab(66.24, -16.41, 63.12)
CIE-LCHlch(66.24, 65.22, 104.57°)
OKLaboklab(70.33% -0.0523 0.1365)
OKLCHoklch(70.33% 0.146 111)
XYZxyz(29.3770, 35.6297, 6.6258)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A71F #221FA7
analogous
#A7661F #A4A71F #60A71F
triadic
#A4A71F #1FA4A7 #A71FA4
tetradic
#A4A71F #1FA766 #221FA7 #A71F60
square
#A4A71F #1FA766 #221FA7 #A71F60
split-complementary
#A4A71F #1F60A7 #661FA7
monochromatic
#3F400C #717315 #A4A71F #D4D82B #DEE15F

Accessibility & contrast

On white

2.58
#A4A71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A4A71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A71F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A71F#FFFFFF#000000##000000
##A4A71F1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32C
Tritanopia (blue-blind)
#B09C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a4a71f;
/* rgb */ color: rgb(164, 167, 31);
/* oklch */ color: oklch(70.3% 0.146 111.0);
Tailwind
colors: {
  custom: {
    50: '#c3c069',
    500: '#a4a71f',
    950: '#000000',
  },
}
SCSS
$custom: #a4a71f;
$custom-light: #c3c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a71f",
  "rgb": {
    "r": 164,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 61.324,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.70331,
    "c": 0.14623,
    "h": 111
  },
  "luminance": 0.35629
}

Semantic roles & 50–950 ramp

primary
#A4A71F
secondary
#5E5CC6
accent
#3CEC40
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A71F

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

Preview Lab → · Contrast checker → · Palette generator →

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