#2A7930#2A7930

#2A7930 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.133 H 144.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2A7930
RGBrgb(42, 121, 48)
HSLhsl(125, 48%, 32%)
HSVhsv(125, 65%, 47%)
CMYKcmyk(65.3%, 0%, 60.3%, 52.5%)
CIE-LABlab(44.77, -39.90, 32.53)
CIE-LCHlch(44.77, 51.48, 140.81°)
OKLaboklab(51.06% -0.1081 0.077)
OKLCHoklch(51.06% 0.133 144.5)
XYZxyz(8.3252, 14.3796, 5.1325)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7930 #792A73
analogous
#4C792A #2A7930 #2A7958
triadic
#2A7930 #302A79 #79302A
tetradic
#2A7930 #2A4C79 #792A73 #79582A
square
#2A7930 #2A4C79 #792A73 #79582A
split-complementary
#2A7930 #582A79 #792A4C
monochromatic
#0A1E0C #1A4C1E #2A7930 #3AA642 #58C561

Accessibility & contrast

On white

5.42
#2A7930 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2A7930 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7930
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7930#FFFFFF#000000##FFFFFF
##2A79301.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E29
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#187669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7930;
/* rgb */ color: rgb(42, 121, 48);
/* oklch */ color: oklch(51.1% 0.133 144.5);
Tailwind
colors: {
  custom: {
    50: '#6ea06b',
    500: '#2a7930',
    950: '#000000',
  },
}
SCSS
$custom: #2a7930;
$custom-light: #6ea06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7930",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 48
  },
  "hsl": {
    "h": 124.557,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.13268,
    "h": 144.5
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#2A7930
secondary
#AB54A4
accent
#50CED8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2A7930

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

Preview Lab → · Contrast checker → · Palette generator →

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