#A2BA3F#A2BA3F

#A2BA3F is a light, vivid yellow-green. Relative luminance 0.432; OKLCH L 74.7% C 0.149 H 119.6°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#A2BA3F
RGBrgb(162, 186, 63)
HSLhsl(72, 49%, 49%)
HSVhsv(72, 66%, 73%)
CMYKcmyk(12.9%, 0%, 66.1%, 27.1%)
CIE-LABlab(71.66, -25.17, 57.22)
CIE-LCHlch(71.66, 62.52, 113.74°)
OKLaboklab(74.71% -0.0737 0.1296)
OKLCHoklch(74.71% 0.149 119.6)
XYZxyz(33.3570, 43.1582, 11.2748)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA3F #573FBA
analogous
#BA953F #A2BA3F #65BA3F
triadic
#A2BA3F #3FA2BA #BA3FA2
tetradic
#A2BA3F #3FBA95 #573FBA #BA3F65
square
#A2BA3F #3FBA95 #573FBA #BA3F65
split-complementary
#A2BA3F #3F65BA #953FBA
monochromatic
#525F20 #7A8C30 #A2BA3F #B9CC6A #CFDC97

Accessibility & contrast

On white

2.18
#A2BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#A2BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA3F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA3F#FFFFFF#000000##000000
##A2BA3F1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02E
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#ABB0A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2ba3f;
/* rgb */ color: rgb(162, 186, 63);
/* oklch */ color: oklch(74.7% 0.149 119.6);
Tailwind
colors: {
  custom: {
    50: '#c0ce7a',
    500: '#a2ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba3f;
$custom-light: #c0ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba3f",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 71.707,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74707,
    "c": 0.14911,
    "h": 119.6
  },
  "luminance": 0.43158
}

Semantic roles & 50–950 ramp

primary
#A2BA3F
secondary
#998DC8
accent
#4FD96A
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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