#2A7025#2A7025

#2A7025 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.130 H 142.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2A7025
RGBrgb(42, 112, 37)
HSLhsl(116, 50%, 29%)
HSVhsv(116, 67%, 44%)
CMYKcmyk(62.5%, 0%, 67%, 56.1%)
CIE-LABlab(41.55, -37.67, 34.25)
CIE-LCHlch(41.55, 50.91, 137.72°)
OKLaboklab(48.36% -0.1026 0.0795)
OKLCHoklch(48.36% 0.13 142.2)
XYZxyz(7.0826, 12.2135, 3.7341)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7025 #6B2570
analogous
#507025 #2A7025 #257046
triadic
#2A7025 #252A70 #70252A
tetradic
#2A7025 #255070 #6B2570 #704625
square
#2A7025 #255070 #6B2570 #704625
split-complementary
#2A7025 #462570 #702550
monochromatic
#091708 #194216 #2A7025 #3B9E34 #54C44C

Accessibility & contrast

On white

6.10
#2A7025 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2A7025 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7025
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7025#FFFFFF#000000##FFFFFF
##2A70251.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661C
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#1E6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a7025;
/* rgb */ color: rgb(42, 112, 37);
/* oklch */ color: oklch(48.4% 0.130 142.2);
Tailwind
colors: {
  custom: {
    50: '#6c9a63',
    500: '#2a7025',
    950: '#000000',
  },
}
SCSS
$custom: #2a7025;
$custom-light: #6c9a63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7025",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 37
  },
  "hsl": {
    "h": 116,
    "s": 50.336,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.12984,
    "h": 142.2
  },
  "luminance": 0.12214
}

Semantic roles & 50–950 ramp

primary
#2A7025
secondary
#9D4EA3
accent
#4EDAD1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #2A7025

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

Preview Lab → · Contrast checker → · Palette generator →

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