#2A762A#2A762A

#2A762A is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.134 H 143.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2A762A
RGBrgb(42, 118, 42)
HSLhsl(120, 48%, 31%)
HSVhsv(120, 64%, 46%)
CMYKcmyk(64.4%, 0%, 64.4%, 53.7%)
CIE-LABlab(43.68, -39.47, 34.24)
CIE-LCHlch(43.68, 52.25, 139.07°)
OKLaboklab(50.13% -0.1072 0.0801)
OKLCHoklch(50.13% 0.134 143.3)
XYZxyz(7.8507, 13.6155, 4.4044)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A762A #762A76
analogous
#50762A #2A762A #2A7650
triadic
#2A762A #2A2A76 #762A2A
tetradic
#2A762A #2A5076 #762A76 #76502A
square
#2A762A #2A5076 #762A76 #76502A
split-complementary
#2A762A #502A76 #762A50
monochromatic
#0A1C0A #1A491A #2A762A #3AA33A #57C357

Accessibility & contrast

On white

5.64
#2A762A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2A762A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A762A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A762A#FFFFFF#000000##FFFFFF
##2A762A1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B21
Deuteranopia (green-blind)
#6F6530
Tritanopia (blue-blind)
#1B7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a762a;
/* rgb */ color: rgb(42, 118, 42);
/* oklch */ color: oklch(50.1% 0.134 143.3);
Tailwind
colors: {
  custom: {
    50: '#6d9e67',
    500: '#2a762a',
    950: '#000000',
  },
}
SCSS
$custom: #2a762a;
$custom-light: #6d9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a762a",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.13381,
    "h": 143.3
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#2A762A
secondary
#A854A8
accent
#51D7D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2A762A

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

Preview Lab → · Contrast checker → · Palette generator →

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