#A4AA1F#A4AA1F

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

Color values

HEX#A4AA1F
RGBrgb(164, 170, 31)
HSLhsl(63, 69%, 39%)
HSVhsv(63, 82%, 67%)
CMYKcmyk(3.5%, 0%, 81.8%, 33.3%)
CIE-LABlab(67.08, -17.94, 63.85)
CIE-LCHlch(67.08, 66.32, 105.69°)
OKLaboklab(71.01% -0.0566 0.1381)
OKLCHoklch(71.01% 0.149 112.3)
XYZxyz(29.9329, 36.7416, 6.8111)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AA1F #251FAA
analogous
#AA6B1F #A4AA1F #5FAA1F
triadic
#A4AA1F #1FA4AA #AA1FA4
tetradic
#A4AA1F #1FAA6B #251FAA #AA1F5F
square
#A4AA1F #1FAA6B #251FAA #AA1F5F
split-complementary
#A4AA1F #1F5FAA #6B1FAA
monochromatic
#40420C #727616 #A4AA1F #D1D92D #DDE261

Accessibility & contrast

On white

2.52
#A4AA1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#A4AA1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AA1F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AA1F#FFFFFF#000000##000000
##A4AA1F1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#B09F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a4aa1f;
/* rgb */ color: rgb(164, 170, 31);
/* oklch */ color: oklch(71.0% 0.149 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c369',
    500: '#a4aa1f',
    950: '#000000',
  },
}
SCSS
$custom: #a4aa1f;
$custom-light: #c3c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a4aa1f",
  "rgb": {
    "r": 164,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 62.59,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.71009,
    "c": 0.14926,
    "h": 112.3
  },
  "luminance": 0.36741
}

Semantic roles & 50–950 ramp

primary
#A4AA1F
secondary
#625EC7
accent
#3CEC43
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4AA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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