#A2BC2D#A2BC2D

#A2BC2D is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 75.0% C 0.163 H 119.7°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#A2BC2D
RGBrgb(162, 188, 45)
HSLhsl(71, 61%, 46%)
HSVhsv(71, 76%, 74%)
CMYKcmyk(13.8%, 0%, 76.1%, 26.3%)
CIE-LABlab(72.12, -27.14, 64.21)
CIE-LCHlch(72.12, 69.71, 112.91°)
OKLaboklab(75.04% -0.0808 0.1414)
OKLCHoklch(75.04% 0.163 119.7)
XYZxyz(33.3578, 43.8374, 9.1863)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BC2D #472DBC
analogous
#BC8E2D #A2BC2D #5ABC2D
triadic
#A2BC2D #2DA2BC #BC2DA2
tetradic
#A2BC2D #2DBC8E #472DBC #BC2D5A
square
#A2BC2D #2DBC8E #472DBC #BC2D5A
split-complementary
#A2BC2D #2D5ABC #8E2DBC
monochromatic
#4D5915 #778B21 #A2BC2D #BDD551 #D0E182

Accessibility & contrast

On white

2.15
#A2BC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#A2BC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BC2D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BC2D#FFFFFF#000000##000000
##A2BC2D1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B107
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#ACB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2bc2d;
/* rgb */ color: rgb(162, 188, 45);
/* oklch */ color: oklch(75.0% 0.163 119.7);
Tailwind
colors: {
  custom: {
    50: '#c1d071',
    500: '#a2bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #a2bc2d;
$custom-light: #c1d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bc2d",
  "rgb": {
    "r": 162,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 70.909,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75039,
    "c": 0.16286,
    "h": 119.7
  },
  "luminance": 0.43837
}

Semantic roles & 50–950 ramp

primary
#A2BC2D
secondary
#897BCA
accent
#43E461
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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