#A4A12F#A4A12F

#A4A12F is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.132 H 107.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A4A12F
RGBrgb(164, 161, 47)
HSLhsl(58, 55%, 41%)
HSVhsv(58, 71%, 64%)
CMYKcmyk(0%, 1.8%, 71.3%, 35.7%)
CIE-LABlab(64.63, -12.63, 56.44)
CIE-LCHlch(64.63, 57.83, 102.62°)
OKLaboklab(69.08% -0.0404 0.1253)
OKLCHoklch(69.08% 0.132 107.9)
XYZxyz(28.5689, 33.5884, 7.6671)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A12F #2F32A4
analogous
#A4672F #A4A12F #6DA42F
triadic
#A4A12F #2FA4A1 #A12FA4
tetradic
#A4A12F #2FA467 #2F32A4 #A42F6D
square
#A4A12F #2FA467 #2F32A4 #A42F6D
split-complementary
#A4A12F #2F6DA4 #672FA4
monochromatic
#454414 #747221 #A4A12F #CAC746 #D8D576

Accessibility & contrast

On white

2.72
#A4A12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A4A12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A12F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A12F#FFFFFF#000000##000000
##A4A12F1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B1C
Deuteranopia (green-blind)
#B09F37
Tritanopia (blue-blind)
#B0968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a12f;
/* rgb */ color: rgb(164, 161, 47);
/* oklch */ color: oklch(69.1% 0.132 107.9);
Tailwind
colors: {
  custom: {
    50: '#c2bc6f',
    500: '#a4a12f',
    950: '#000000',
  },
}
SCSS
$custom: #a4a12f;
$custom-light: #c2bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a12f",
  "rgb": {
    "r": 164,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 58.462,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69079,
    "c": 0.13164,
    "h": 107.9
  },
  "luminance": 0.33587
}

Semantic roles & 50–950 ramp

primary
#A4A12F
secondary
#6F71C0
accent
#4DDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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