#2A702F#2A702F

#2A702F is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.121 H 144.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2A702F
RGBrgb(42, 112, 47)
HSLhsl(124, 45%, 30%)
HSVhsv(124, 63%, 44%)
CMYKcmyk(62.5%, 0%, 58%, 56.1%)
CIE-LABlab(41.67, -36.40, 29.38)
CIE-LCHlch(41.67, 46.77, 141.09°)
OKLaboklab(48.49% -0.0987 0.07)
OKLCHoklch(48.49% 0.121 144.6)
XYZxyz(7.2617, 12.2851, 4.6774)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A702F #702A6B
analogous
#48702A #2A702F #2A7052
triadic
#2A702F #2F2A70 #702F2A
tetradic
#2A702F #2A4870 #702A6B #70522A
square
#2A702F #2A4870 #702A6B #70522A
split-complementary
#2A702F #522A70 #702A48
monochromatic
#09170A #19431C #2A702F #3B9D42 #55BF5D

Accessibility & contrast

On white

6.07
#2A702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2A702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A702F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A702F#FFFFFF#000000##FFFFFF
##2A702F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#1C6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a702f;
/* rgb */ color: rgb(42, 112, 47);
/* oklch */ color: oklch(48.5% 0.121 144.6);
Tailwind
colors: {
  custom: {
    50: '#6c9a69',
    500: '#2a702f',
    950: '#000000',
  },
}
SCSS
$custom: #2a702f;
$custom-light: #6c9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a702f",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 124.286,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48489,
    "c": 0.12098,
    "h": 144.6
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#2A702F
secondary
#A2549C
accent
#53CCD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A702F

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

Preview Lab → · Contrast checker → · Palette generator →

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