#A2AC3F#A2AC3F

#A2AC3F is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.5% C 0.132 H 114.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#A2AC3F
RGBrgb(162, 172, 63)
HSLhsl(66, 46%, 46%)
HSVhsv(66, 63%, 67%)
CMYKcmyk(5.8%, 0%, 63.4%, 32.5%)
CIE-LABlab(67.68, -18.21, 53.04)
CIE-LCHlch(67.68, 56.08, 108.94°)
OKLaboklab(71.51% -0.0543 0.1208)
OKLCHoklch(71.51% 0.132 114.2)
XYZxyz(30.5508, 37.5458, 10.3394)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC3F #493FAC
analogous
#AC7F3F #A2AC3F #6BAC3F
triadic
#A2AC3F #3FA2AC #AC3FA2
tetradic
#A2AC3F #3FAC7F #493FAC #AC3F6B
square
#A2AC3F #3FAC7F #493FAC #AC3F6B
split-complementary
#A2AC3F #3F6BAC #7F3FAC
monochromatic
#4E521E #787F2F #A2AC3F #BDC663 #D0D68F

Accessibility & contrast

On white

2.47
#A2AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#A2AC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC3F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC3F#FFFFFF#000000##000000
##A2AC3F1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A431
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#ACA295
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ac3f;
/* rgb */ color: rgb(162, 172, 63);
/* oklch */ color: oklch(71.5% 0.132 114.2);
Tailwind
colors: {
  custom: {
    50: '#c0c479',
    500: '#a2ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac3f;
$custom-light: #c0c479;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac3f",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 65.505,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71514,
    "c": 0.13242,
    "h": 114.2
  },
  "luminance": 0.37545
}

Semantic roles & 50–950 ramp

primary
#A2AC3F
secondary
#8B86C1
accent
#52D65E
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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