#A4A52F#A4A52F

#A4A52F is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.136 H 109.9°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A4A52F
RGBrgb(164, 165, 47)
HSLhsl(61, 56%, 42%)
HSVhsv(61, 72%, 65%)
CMYKcmyk(0.6%, 0%, 71.5%, 35.3%)
CIE-LABlab(65.76, -14.71, 57.53)
CIE-LCHlch(65.76, 59.38, 104.34°)
OKLaboklab(69.97% -0.0463 0.1276)
OKLCHoklch(69.97% 0.136 109.9)
XYZxyz(29.2791, 35.0089, 7.9038)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A52F #302FA5
analogous
#A56B2F #A4A52F #69A52F
triadic
#A4A52F #2FA4A5 #A52FA4
tetradic
#A4A52F #2FA56B #302FA5 #A52F69
square
#A4A52F #2FA56B #302FA5 #A52F69
split-complementary
#A4A52F #2F69A5 #6B2FA5
monochromatic
#454614 #757521 #A4A52F #C9CB47 #D7D876

Accessibility & contrast

On white

2.62
#A4A52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A4A52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A52F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A52F#FFFFFF#000000##000000
##A4A52F1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1A
Deuteranopia (green-blind)
#B4A138
Tritanopia (blue-blind)
#B09A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a4a52f;
/* rgb */ color: rgb(164, 165, 47);
/* oklch */ color: oklch(70.0% 0.136 109.9);
Tailwind
colors: {
  custom: {
    50: '#c2bf70',
    500: '#a4a52f',
    950: '#000000',
  },
}
SCSS
$custom: #a4a52f;
$custom-light: #c2bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a52f",
  "rgb": {
    "r": 164,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 60.508,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69974,
    "c": 0.13571,
    "h": 109.9
  },
  "luminance": 0.35008
}

Semantic roles & 50–950 ramp

primary
#A4A52F
secondary
#7070C0
accent
#49DF4A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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