#2A962B#2A962B

#2A962B is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.174 H 143.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2A962B
RGBrgb(42, 150, 43)
HSLhsl(121, 56%, 38%)
HSVhsv(121, 72%, 59%)
CMYKcmyk(72%, 0%, 71.3%, 41.2%)
CIE-LABlab(54.53, -51.13, 45.60)
CIE-LCHlch(54.53, 68.51, 138.27°)
OKLaboklab(59.12% -0.1388 0.1042)
OKLCHoklch(59.12% 0.174 143.1)
XYZxyz(12.2965, 22.4780, 5.9757)
Luminance0.2248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A962B #962A95
analogous
#5F962A #2A962B #2A9661
triadic
#2A962B #2B2A96 #962B2A
tetradic
#2A962B #2A5F96 #962A95 #96612A
square
#2A962B #2A5F96 #962A95 #96612A
split-complementary
#2A962B #612A96 #962A5F
monochromatic
#0F3610 #1D661D #2A962B #37C639 #66D467

Accessibility & contrast

On white

3.82
#2A962B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#2A962B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A962B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A962B#FFFFFF#000000##000000
##2A962B1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881B
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#049281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a962b;
/* rgb */ color: rgb(42, 150, 43);
/* oklch */ color: oklch(59.1% 0.174 143.1);
Tailwind
colors: {
  custom: {
    50: '#74b66b',
    500: '#2a962b',
    950: '#000000',
  },
}
SCSS
$custom: #2a962b;
$custom-light: #74b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a962b",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 120.556,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.17352,
    "h": 143.1
  },
  "luminance": 0.22479
}

Semantic roles & 50–950 ramp

primary
#2A962B
secondary
#BA61BA
accent
#48DEE0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A962B

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

Preview Lab → · Contrast checker → · Palette generator →

#2A962B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva