#2A702D#2A702D

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

Color values

HEX#2A702D
RGBrgb(42, 112, 45)
HSLhsl(123, 45%, 30%)
HSVhsv(123, 63%, 44%)
CMYKcmyk(62.5%, 0%, 59.8%, 56.1%)
CIE-LABlab(41.64, -36.68, 30.39)
CIE-LCHlch(41.64, 47.63, 140.36°)
OKLaboklab(48.46% -0.0995 0.0721)
OKLCHoklch(48.46% 0.123 144.1)
XYZxyz(7.2222, 12.2694, 4.4697)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A702D #702A6D
analogous
#4A702A #2A702D #2A7050
triadic
#2A702D #2D2A70 #702D2A
tetradic
#2A702D #2A4A70 #702A6D #70502A
square
#2A702D #2A4A70 #702A6D #70502A
split-complementary
#2A702D #502A70 #702A4A
monochromatic
#091709 #19431B #2A702D #3B9D3F #55BF5A

Accessibility & contrast

On white

6.08
#2A702D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A702D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A702D#FFFFFF#000000##FFFFFF
##2A702D1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a702d;
/* rgb */ color: rgb(42, 112, 45);
/* oklch */ color: oklch(48.5% 0.123 144.1);
Tailwind
colors: {
  custom: {
    50: '#6c9a68',
    500: '#2a702d',
    950: '#000000',
  },
}
SCSS
$custom: #2a702d;
$custom-light: #6c9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a702d",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 122.571,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48461,
    "c": 0.12285,
    "h": 144.1
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#2A702D
secondary
#A2549F
accent
#53D0D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A702D

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

Preview Lab → · Contrast checker → · Palette generator →

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