#2A762B#2A762B

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

Color values

HEX#2A762B
RGBrgb(42, 118, 43)
HSLhsl(121, 48%, 31%)
HSVhsv(121, 64%, 46%)
CMYKcmyk(64.4%, 0%, 63.6%, 53.7%)
CIE-LABlab(43.69, -39.35, 33.76)
CIE-LCHlch(43.69, 51.85, 139.37°)
OKLaboklab(50.14% -0.1068 0.0791)
OKLCHoklch(50.14% 0.133 143.5)
XYZxyz(7.8689, 13.6228, 4.4998)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A762B #762A75
analogous
#4F762A #2A762B #2A7651
triadic
#2A762B #2B2A76 #762B2A
tetradic
#2A762B #2A4F76 #762A75 #76512A
square
#2A762B #2A4F76 #762A75 #76512A
split-complementary
#2A762B #512A76 #762A4F
monochromatic
#0A1C0A #1A491B #2A762B #3AA33B #57C359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A762B#FFFFFF#000000##FFFFFF
##2A762B1.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)
#786B23
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#1B7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a762b;
/* rgb */ color: rgb(42, 118, 43);
/* oklch */ color: oklch(50.1% 0.133 143.5);
Tailwind
colors: {
  custom: {
    50: '#6d9e67',
    500: '#2a762b',
    950: '#000000',
  },
}
SCSS
$custom: #2a762b;
$custom-light: #6d9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a762b",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 120.789,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50142,
    "c": 0.13296,
    "h": 143.5
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#2A762B
secondary
#A854A7
accent
#51D5D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2A762B

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

Preview Lab → · Contrast checker → · Palette generator →

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