#A4A71E#A4A71E

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

Color values

HEX#A4A71E
RGBrgb(164, 167, 30)
HSLhsl(61, 70%, 39%)
HSVhsv(61, 82%, 65%)
CMYKcmyk(1.8%, 0%, 82%, 34.5%)
CIE-LABlab(66.23, -16.44, 63.38)
CIE-LCHlch(66.23, 65.48, 104.54°)
OKLaboklab(70.33% -0.0525 0.1369)
OKLCHoklch(70.33% 0.147 111)
XYZxyz(29.3640, 35.6245, 6.5575)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A71E #211EA7
analogous
#A7651E #A4A71E #5FA71E
triadic
#A4A71E #1EA4A7 #A71EA4
tetradic
#A4A71E #1EA765 #211EA7 #A71E5F
square
#A4A71E #1EA765 #211EA7 #A71E5F
split-complementary
#A4A71E #1E5FA7 #651EA7
monochromatic
#3E3F0B #717315 #A4A71E #D5D92A #DFE25D

Accessibility & contrast

On white

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

On black

8.12
#A4A71E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A71E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A71E#FFFFFF#000000##000000
##A4A71E1.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.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: #a4a71e;
/* rgb */ color: rgb(164, 167, 30);
/* oklch */ color: oklch(70.3% 0.147 111.0);
Tailwind
colors: {
  custom: {
    50: '#c3c068',
    500: '#a4a71e',
    950: '#000000',
  },
}
SCSS
$custom: #a4a71e;
$custom-light: #c3c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a71e",
  "rgb": {
    "r": 164,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 61.314,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70327,
    "c": 0.14666,
    "h": 111
  },
  "luminance": 0.35624
}

Semantic roles & 50–950 ramp

primary
#A4A71E
secondary
#5D5BC6
accent
#3BEC3F
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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