#2A892D#2A892D

#2A892D is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.156 H 143.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A892D
RGBrgb(42, 137, 45)
HSLhsl(122, 53%, 35%)
HSVhsv(122, 69%, 54%)
CMYKcmyk(69.3%, 0%, 67.2%, 46.3%)
CIE-LABlab(50.18, -46.32, 40.09)
CIE-LCHlch(50.18, 61.26, 139.13°)
OKLaboklab(55.52% -0.1256 0.0928)
OKLCHoklch(55.52% 0.156 143.5)
XYZxyz(10.3735, 18.5719, 5.5202)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A892D #892A86
analogous
#56892A #2A892D #2A895D
triadic
#2A892D #2D2A89 #892D2A
tetradic
#2A892D #2A5689 #892A86 #895D2A
square
#2A892D #2A5689 #892A86 #895D2A
split-complementary
#2A892D #5D2A89 #892A56
monochromatic
#0D2B0E #1C5A1E #2A892D #38B83C #5FCE63

Accessibility & contrast

On white

4.45
#2A892D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2A892D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A892D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A892D#FFFFFF#000000##000000
##2A892D1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C21
Deuteranopia (green-blind)
#817435
Tritanopia (blue-blind)
#108576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a892d;
/* rgb */ color: rgb(42, 137, 45);
/* oklch */ color: oklch(55.5% 0.156 143.5);
Tailwind
colors: {
  custom: {
    50: '#71ac6a',
    500: '#2a892d',
    950: '#000000',
  },
}
SCSS
$custom: #2a892d;
$custom-light: #71ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a892d",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 121.895,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5552,
    "c": 0.1562,
    "h": 143.5
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#2A892D
secondary
#B45BB1
accent
#4BD8DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A892D

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

Preview Lab → · Contrast checker → · Palette generator →

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