#A4A42C#A4A42C

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

Color values

HEX#A4A42C
RGBrgb(164, 164, 44)
HSLhsl(60, 58%, 41%)
HSVhsv(60, 73%, 64%)
CMYKcmyk(0%, 0%, 73.2%, 35.7%)
CIE-LABlab(65.46, -14.34, 58.33)
CIE-LCHlch(65.46, 60.06, 103.81°)
OKLaboklab(69.73% -0.0455 0.1287)
OKLCHoklch(69.73% 0.137 109.5)
XYZxyz(29.0410, 34.6261, 7.5361)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A42C #2C2CA4
analogous
#A4682C #A4A42C #68A42C
triadic
#A4A42C #2CA4A4 #A42CA4
tetradic
#A4A42C #2CA468 #2C2CA4 #A42C68
square
#A4A42C #2CA468 #2C2CA4 #A42C68
split-complementary
#A4A42C #2C68A4 #682CA4
monochromatic
#434312 #74741F #A4A42C #CCCC41 #D9D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4A42C#FFFFFF#000000##000000
##A4A42C1.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)
#B19D14
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#B0998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a4a42c;
/* rgb */ color: rgb(164, 164, 44);
/* oklch */ color: oklch(69.7% 0.137 109.5);
Tailwind
colors: {
  custom: {
    50: '#c2be6e',
    500: '#a4a42c',
    950: '#000000',
  },
}
SCSS
$custom: #a4a42c;
$custom-light: #c2be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a42c",
  "rgb": {
    "r": 164,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69729,
    "c": 0.13653,
    "h": 109.5
  },
  "luminance": 0.34625
}

Semantic roles & 50–950 ramp

primary
#A4A42C
secondary
#6B6BC0
accent
#47E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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