#2A951E#2A951E

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

Color values

HEX#2A951E
RGBrgb(42, 149, 30)
HSLhsl(114, 66%, 35%)
HSVhsv(114, 80%, 58%)
CMYKcmyk(71.8%, 0%, 79.9%, 41.6%)
CIE-LABlab(54.11, -51.82, 49.93)
CIE-LCHlch(54.11, 71.96, 136.06°)
OKLaboklab(58.74% -0.1413 0.1115)
OKLCHoklch(58.74% 0.18 141.7)
XYZxyz(11.9360, 22.0796, 4.8608)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A951E #891E95
analogous
#65951E #2A951E #1E954E
triadic
#2A951E #1E2A95 #951E2A
tetradic
#2A951E #1E6595 #891E95 #954E1E
square
#2A951E #1E6595 #891E95 #954E1E
split-complementary
#2A951E #4E1E95 #951E65
monochromatic
#0D2F09 #1C6214 #2A951E #38C828 #5FDC51

Accessibility & contrast

On white

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

On black

5.42
#2A951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A951E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A951E#FFFFFF#000000##000000
##2A951E1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a951e;
/* rgb */ color: rgb(42, 149, 30);
/* oklch */ color: oklch(58.7% 0.180 141.7);
Tailwind
colors: {
  custom: {
    50: '#75b564',
    500: '#2a951e',
    950: '#000000',
  },
}
SCSS
$custom: #2a951e;
$custom-light: #75b564;
$custom-dark: #000000;
JSON
{
  "hex": "#2a951e",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 113.95,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58743,
    "c": 0.17995,
    "h": 141.7
  },
  "luminance": 0.22081
}

Semantic roles & 50–950 ramp

primary
#2A951E
secondary
#B450BF
accent
#3EE9D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A951E

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

Preview Lab → · Contrast checker → · Palette generator →

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