#A4A42F#A4A42F

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

Color values

HEX#A4A42F
RGBrgb(164, 164, 47)
HSLhsl(60, 55%, 41%)
HSVhsv(60, 71%, 64%)
CMYKcmyk(0%, 0%, 71.3%, 35.7%)
CIE-LABlab(65.47, -14.19, 57.26)
CIE-LCHlch(65.47, 58.99, 103.92°)
OKLaboklab(69.75% -0.0448 0.127)
OKLCHoklch(69.75% 0.135 109.4)
XYZxyz(29.0994, 34.6495, 7.8439)
Luminance0.3465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A42F #2F2FA4
analogous
#A46A2F #A4A42F #6AA42F
triadic
#A4A42F #2FA4A4 #A42FA4
tetradic
#A4A42F #2FA46A #2F2FA4 #A42F6A
square
#A4A42F #2FA46A #2F2FA4 #A42F6A
split-complementary
#A4A42F #2F6AA4 #6A2FA4
monochromatic
#454514 #747421 #A4A42F #CACA46 #D8D876

Accessibility & contrast

On white

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

On black

7.93
#A4A42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A42F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A42F#FFFFFF#000000##000000
##A4A42F1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4a42f;
/* rgb */ color: rgb(164, 164, 47);
/* oklch */ color: oklch(69.7% 0.135 109.4);
Tailwind
colors: {
  custom: {
    50: '#c2be70',
    500: '#a4a42f',
    950: '#000000',
  },
}
SCSS
$custom: #a4a42f;
$custom-light: #c2be70;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a42f",
  "rgb": {
    "r": 164,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69749,
    "c": 0.13467,
    "h": 109.4
  },
  "luminance": 0.34649
}

Semantic roles & 50–950 ramp

primary
#A4A42F
secondary
#6F6FC0
accent
#49DF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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