#A4A52A#A4A52A

#A4A52A is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.139 H 110.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#A4A52A
RGBrgb(164, 165, 42)
HSLhsl(60, 59%, 41%)
HSVhsv(60, 75%, 65%)
CMYKcmyk(0.6%, 0%, 74.5%, 35.3%)
CIE-LABlab(65.73, -14.95, 59.28)
CIE-LCHlch(65.73, 61.13, 104.15°)
OKLaboklab(69.94% -0.0474 0.1304)
OKLCHoklch(69.94% 0.139 110)
XYZxyz(29.1839, 34.9708, 7.4028)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A52A #2B2AA5
analogous
#A5682A #A4A52A #66A52A
triadic
#A4A52A #2AA4A5 #A52AA4
tetradic
#A4A52A #2AA568 #2B2AA5 #A52A66
square
#A4A52A #2AA568 #2B2AA5 #A52A66
split-complementary
#A4A52A #2A66A5 #682AA5
monochromatic
#434311 #74741E #A4A52A #CDCE3E #D9DA6F

Accessibility & contrast

On white

2.63
#A4A52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#A4A52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A52A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A52A#FFFFFF#000000##000000
##A4A52A1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4a52a;
/* rgb */ color: rgb(164, 165, 42);
/* oklch */ color: oklch(69.9% 0.139 110.0);
Tailwind
colors: {
  custom: {
    50: '#c2bf6d',
    500: '#a4a52a',
    950: '#000000',
  },
}
SCSS
$custom: #a4a52a;
$custom-light: #c2bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a52a",
  "rgb": {
    "r": 164,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 60.488,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6994,
    "c": 0.13872,
    "h": 110
  },
  "luminance": 0.3497
}

Semantic roles & 50–950 ramp

primary
#A4A52A
secondary
#6A69C1
accent
#45E346
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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