#A4AB40#A4AB40

#A4AB40 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.5% C 0.130 H 112.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#A4AB40
RGBrgb(164, 171, 64)
HSLhsl(64, 46%, 46%)
HSVhsv(64, 63%, 67%)
CMYKcmyk(4.1%, 0%, 62.6%, 32.9%)
CIE-LABlab(67.57, -16.78, 52.53)
CIE-LCHlch(67.57, 55.15, 107.71°)
OKLaboklab(71.46% -0.0503 0.1198)
OKLCHoklch(71.46% 0.13 112.8)
XYZxyz(30.7990, 37.3891, 10.4439)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AB40 #4740AB
analogous
#AB7C40 #A4AB40 #6EAB40
triadic
#A4AB40 #40A4AB #AB40A4
tetradic
#A4AB40 #40AB7C #4740AB #AB406E
square
#A4AB40 #40AB7C #4740AB #AB406E
split-complementary
#A4AB40 #406EAB #7C40AB
monochromatic
#4F521F #797E2F #A4AB40 #BEC563 #D1D590

Accessibility & contrast

On white

2.48
#A4AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#A4AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AB40
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AB40#FFFFFF#000000##000000
##A4AB401.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#AEA195
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a4ab40;
/* rgb */ color: rgb(164, 171, 64);
/* oklch */ color: oklch(71.5% 0.130 112.8);
Tailwind
colors: {
  custom: {
    50: '#c2c37a',
    500: '#a4ab40',
    950: '#000000',
  },
}
SCSS
$custom: #a4ab40;
$custom-light: #c2c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ab40",
  "rgb": {
    "r": 164,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 63.925,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71463,
    "c": 0.12993,
    "h": 112.8
  },
  "luminance": 0.37388
}

Semantic roles & 50–950 ramp

primary
#A4AB40
secondary
#8A86C1
accent
#53D55B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A4AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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