#A4A42A#A4A42A

#A4A42A is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.138 H 109.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A4A42A
RGBrgb(164, 164, 42)
HSLhsl(60, 59%, 40%)
HSVhsv(60, 74%, 64%)
CMYKcmyk(0%, 0%, 74.4%, 35.7%)
CIE-LABlab(65.45, -14.43, 59.01)
CIE-LCHlch(65.45, 60.75, 103.74°)
OKLaboklab(69.72% -0.046 0.1298)
OKLCHoklch(69.72% 0.138 109.5)
XYZxyz(29.0043, 34.6115, 7.3429)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A42A #2A2AA4
analogous
#A4672A #A4A42A #67A42A
triadic
#A4A42A #2AA4A4 #A42AA4
tetradic
#A4A42A #2AA467 #2A2AA4 #A42A67
square
#A4A42A #2AA467 #2A2AA4 #A42A67
split-complementary
#A4A42A #2A67A4 #672AA4
monochromatic
#434311 #73731E #A4A42A #CDCD3E #DADA6E

Accessibility & contrast

On white

2.65
#A4A42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A4A42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A42A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A42A#FFFFFF#000000##000000
##A4A42A1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D10
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B0998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a4a42a;
/* rgb */ color: rgb(164, 164, 42);
/* oklch */ color: oklch(69.7% 0.138 109.5);
Tailwind
colors: {
  custom: {
    50: '#c2be6d',
    500: '#a4a42a',
    950: '#000000',
  },
}
SCSS
$custom: #a4a42a;
$custom-light: #c2be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a42a",
  "rgb": {
    "r": 164,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69716,
    "c": 0.13771,
    "h": 109.5
  },
  "luminance": 0.34611
}

Semantic roles & 50–950 ramp

primary
#A4A42A
secondary
#6969C1
accent
#45E245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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