#A1AA34#A1AA34

#A1AA34 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.139 H 113.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A1AA34
RGBrgb(161, 170, 52)
HSLhsl(65, 53%, 44%)
HSVhsv(65, 69%, 67%)
CMYKcmyk(5.3%, 0%, 69.4%, 33.3%)
CIE-LABlab(66.96, -18.30, 56.74)
CIE-LCHlch(66.96, 59.62, 107.88°)
OKLaboklab(70.89% -0.0556 0.1269)
OKLCHoklch(70.89% 0.139 113.7)
XYZxyz(29.6933, 36.5750, 8.7436)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA34 #3D34AA
analogous
#AA7834 #A1AA34 #66AA34
triadic
#A1AA34 #34A1AA #AA34A1
tetradic
#A1AA34 #34AA78 #3D34AA #AA3466
square
#A1AA34 #34AA78 #3D34AA #AA3466
split-complementary
#A1AA34 #3466AA #7834AA
monochromatic
#484C17 #757B26 #A1AA34 #C1CA51 #D1D880

Accessibility & contrast

On white

2.53
#A1AA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A1AA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AA34
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AA34#FFFFFF#000000##000000
##A1AA341.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A221
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#ACA093
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1aa34;
/* rgb */ color: rgb(161, 170, 52);
/* oklch */ color: oklch(70.9% 0.139 113.7);
Tailwind
colors: {
  custom: {
    50: '#c0c373',
    500: '#a1aa34',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa34;
$custom-light: #c0c373;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa34",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 64.576,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70886,
    "c": 0.13854,
    "h": 113.7
  },
  "luminance": 0.36574
}

Semantic roles & 50–950 ramp

primary
#A1AA34
secondary
#7E78C1
accent
#4BDD56
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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