#2A951C#2A951C

#2A951C is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.7% C 0.181 H 141.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2A951C
RGBrgb(42, 149, 28)
HSLhsl(113, 68%, 35%)
HSVhsv(113, 81%, 58%)
CMYKcmyk(71.8%, 0%, 81.2%, 41.6%)
CIE-LABlab(54.10, -51.95, 50.55)
CIE-LCHlch(54.10, 72.49, 135.78°)
OKLaboklab(58.73% -0.1417 0.1125)
OKLCHoklch(58.73% 0.181 141.6)
XYZxyz(11.9112, 22.0697, 4.7305)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A951C #871C95
analogous
#67951C #2A951C #1C954B
triadic
#2A951C #1C2A95 #951C2A
tetradic
#2A951C #1C6795 #871C95 #954B1C
square
#2A951C #1C6795 #871C95 #954B1C
split-complementary
#2A951C #4B1C95 #951C67
monochromatic
#0D2E09 #1B6112 #2A951C #39C926 #5EDE4E

Accessibility & contrast

On white

3.88
#2A951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#2A951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A951C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A951C#FFFFFF#000000##000000
##2A951C1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#0D907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a951c;
/* rgb */ color: rgb(42, 149, 28);
/* oklch */ color: oklch(58.7% 0.181 141.6);
Tailwind
colors: {
  custom: {
    50: '#75b563',
    500: '#2a951c',
    950: '#000000',
  },
}
SCSS
$custom: #2a951c;
$custom-light: #75b563;
$custom-dark: #000000;
JSON
{
  "hex": "#2a951c",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 113.058,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58731,
    "c": 0.18093,
    "h": 141.6
  },
  "luminance": 0.22071
}

Semantic roles & 50–950 ramp

primary
#2A951C
secondary
#B34DC0
accent
#3DEBD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A951C

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

Preview Lab → · Contrast checker → · Palette generator →

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