#A4A42B#A4A42B

#A4A42B 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.92:1 contrast (WCAG AA passes).

Color values

HEX#A4A42B
RGBrgb(164, 164, 43)
HSLhsl(60, 58%, 41%)
HSVhsv(60, 74%, 64%)
CMYKcmyk(0%, 0%, 73.8%, 35.7%)
CIE-LABlab(65.45, -14.39, 58.67)
CIE-LCHlch(65.45, 60.41, 103.78°)
OKLaboklab(69.72% -0.0457 0.1293)
OKLCHoklch(69.72% 0.137 109.5)
XYZxyz(29.0224, 34.6187, 7.4383)
Luminance0.3462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A42B #2B2BA4
analogous
#A4672B #A4A42B #67A42B
triadic
#A4A42B #2BA4A4 #A42BA4
tetradic
#A4A42B #2BA467 #2B2BA4 #A42B67
square
#A4A42B #2BA467 #2B2BA4 #A42B67
split-complementary
#A4A42B #2B67A4 #672BA4
monochromatic
#434312 #74741E #A4A42B #CDCD3F #D9D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4A42B#FFFFFF#000000##000000
##A4A42B1.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)
#B19D12
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B0998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a4a42b;
/* rgb */ color: rgb(164, 164, 43);
/* oklch */ color: oklch(69.7% 0.137 109.5);
Tailwind
colors: {
  custom: {
    50: '#c2be6e',
    500: '#a4a42b',
    950: '#000000',
  },
}
SCSS
$custom: #a4a42b;
$custom-light: #c2be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a42b",
  "rgb": {
    "r": 164,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69722,
    "c": 0.13712,
    "h": 109.5
  },
  "luminance": 0.34618
}

Semantic roles & 50–950 ramp

primary
#A4A42B
secondary
#6A6AC1
accent
#46E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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