#A1AC2F#A1AC2F

#A1AC2F is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.3% C 0.144 H 114.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#A1AC2F
RGBrgb(161, 172, 47)
HSLhsl(65, 57%, 43%)
HSVhsv(65, 73%, 67%)
CMYKcmyk(6.4%, 0%, 72.7%, 32.5%)
CIE-LABlab(67.49, -19.58, 59.13)
CIE-LCHlch(67.49, 62.28, 108.33°)
OKLaboklab(71.3% -0.0597 0.131)
OKLCHoklch(71.3% 0.144 114.5)
XYZxyz(29.9644, 37.2879, 8.3076)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC2F #3A2FAC
analogous
#AC782F #A1AC2F #62AC2F
triadic
#A1AC2F #2FA1AC #AC2FA1
tetradic
#A1AC2F #2FAC78 #3A2FAC #AC2F62
square
#A1AC2F #2FAC78 #3A2FAC #AC2F62
split-complementary
#A1AC2F #2F62AC #782FAC
monochromatic
#474C15 #747C22 #A1AC2F #C2CE4B #D2DB7B

Accessibility & contrast

On white

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

On black

8.46
#A1AC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AC2F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AC2F#FFFFFF#000000##000000
##A1AC2F1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A317
Deuteranopia (green-blind)
#B8A539
Tritanopia (blue-blind)
#ACA294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ac2f;
/* rgb */ color: rgb(161, 172, 47);
/* oklch */ color: oklch(71.3% 0.144 114.5);
Tailwind
colors: {
  custom: {
    50: '#c0c471',
    500: '#a1ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac2f;
$custom-light: #c0c471;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac2f",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 65.28,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71305,
    "c": 0.14399,
    "h": 114.5
  },
  "luminance": 0.37287
}

Semantic roles & 50–950 ramp

primary
#A1AC2F
secondary
#7B74C3
accent
#47E055
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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