#A4AA27#A4AA27

#A4AA27 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.0% C 0.146 H 112.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#A4AA27
RGBrgb(164, 170, 39)
HSLhsl(63, 63%, 41%)
HSVhsv(63, 77%, 67%)
CMYKcmyk(3.5%, 0%, 77.1%, 33.3%)
CIE-LABlab(67.12, -17.64, 61.55)
CIE-LCHlch(67.12, 64.03, 105.99°)
OKLaboklab(71.05% -0.0552 0.1347)
OKLCHoklch(71.05% 0.146 112.3)
XYZxyz(30.0518, 36.7892, 7.4370)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AA27 #2D27AA
analogous
#AA6E27 #A4AA27 #62AA27
triadic
#A4AA27 #27A4AA #AA27A4
tetradic
#A4AA27 #27AA6E #2D27AA #AA2762
square
#A4AA27 #27AA6E #2D27AA #AA2762
split-complementary
#A4AA27 #2762AA #6E27AA
monochromatic
#444610 #74781C #A4AA27 #CBD23C #D9DE6E

Accessibility & contrast

On white

2.51
#A4AA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#A4AA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AA27
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AA27#FFFFFF#000000##000000
##A4AA271.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A202
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B09F92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a4aa27;
/* rgb */ color: rgb(164, 170, 39);
/* oklch */ color: oklch(71.0% 0.146 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c36d',
    500: '#a4aa27',
    950: '#000000',
  },
}
SCSS
$custom: #a4aa27;
$custom-light: #c3c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4aa27",
  "rgb": {
    "r": 164,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 62.748,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71049,
    "c": 0.14551,
    "h": 112.3
  },
  "luminance": 0.36788
}

Semantic roles & 50–950 ramp

primary
#A4AA27
secondary
#6D69C4
accent
#42E64A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A4AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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