#2A7330#2A7330

#2A7330 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.124 H 144.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2A7330
RGBrgb(42, 115, 48)
HSLhsl(125, 46%, 31%)
HSVhsv(125, 63%, 45%)
CMYKcmyk(63.5%, 0%, 58.3%, 54.9%)
CIE-LABlab(42.71, -37.49, 30.10)
CIE-LCHlch(42.71, 48.08, 141.23°)
OKLaboklab(49.36% -0.1016 0.0717)
OKLCHoklch(49.36% 0.124 144.8)
XYZxyz(7.6186, 12.9664, 4.8970)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7330 #732A6D
analogous
#48732A #2A7330 #2A7354
triadic
#2A7330 #302A73 #73302A
tetradic
#2A7330 #2A4873 #732A6D #73542A
square
#2A7330 #2A4873 #732A6D #73542A
split-complementary
#2A7330 #542A73 #732A48
monochromatic
#09190B #1A461D #2A7330 #3AA043 #56C15F

Accessibility & contrast

On white

5.84
#2A7330 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2A7330 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7330
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7330#FFFFFF#000000##FFFFFF
##2A73301.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692A
Deuteranopia (green-blind)
#6C6235
Tritanopia (blue-blind)
#1A7064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7330;
/* rgb */ color: rgb(42, 115, 48);
/* oklch */ color: oklch(49.4% 0.124 144.8);
Tailwind
colors: {
  custom: {
    50: '#6c9c6a',
    500: '#2a7330',
    950: '#000000',
  },
}
SCSS
$custom: #2a7330;
$custom-light: #6c9c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7330",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 48
  },
  "hsl": {
    "h": 124.932,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.12431,
    "h": 144.8
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#2A7330
secondary
#A5549E
accent
#52CBD6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A7330

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

Preview Lab → · Contrast checker → · Palette generator →

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