#2A702A#2A702A

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

Color values

HEX#2A702A
RGBrgb(42, 112, 42)
HSLhsl(120, 45%, 30%)
HSVhsv(120, 63%, 44%)
CMYKcmyk(62.5%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.61, -37.07, 31.87)
CIE-LCHlch(41.61, 48.89, 139.31°)
OKLaboklab(48.42% -0.1007 0.075)
OKLCHoklch(48.42% 0.126 143.3)
XYZxyz(7.1665, 12.2471, 4.1763)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A702A #702A70
analogous
#4D702A #2A702A #2A704D
triadic
#2A702A #2A2A70 #702A2A
tetradic
#2A702A #2A4D70 #702A70 #704D2A
square
#2A702A #2A4D70 #702A70 #704D2A
split-complementary
#2A702A #4D2A70 #702A4D
monochromatic
#091709 #194319 #2A702A #3B9D3B #55BF55

Accessibility & contrast

On white

6.09
#2A702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2A702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A702A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A702A#FFFFFF#000000##FFFFFF
##2A702A1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726623
Deuteranopia (green-blind)
#696030
Tritanopia (blue-blind)
#1D6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a702a;
/* rgb */ color: rgb(42, 112, 42);
/* oklch */ color: oklch(48.4% 0.126 143.3);
Tailwind
colors: {
  custom: {
    50: '#6c9a66',
    500: '#2a702a',
    950: '#000000',
  },
}
SCSS
$custom: #2a702a;
$custom-light: #6c9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a702a",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.12556,
    "h": 143.3
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#2A702A
secondary
#A254A2
accent
#53D5D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A702A

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

Preview Lab → · Contrast checker → · Palette generator →

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