#2A762F#2A762F

#2A762F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.129 H 144.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2A762F
RGBrgb(42, 118, 47)
HSLhsl(124, 48%, 31%)
HSVhsv(124, 64%, 46%)
CMYKcmyk(64.4%, 0%, 60.2%, 53.7%)
CIE-LABlab(43.73, -38.84, 31.82)
CIE-LCHlch(43.73, 50.21, 140.67°)
OKLaboklab(50.19% -0.1053 0.0753)
OKLCHoklch(50.19% 0.129 144.4)
XYZxyz(7.9459, 13.6536, 4.9054)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A762F #762A71
analogous
#4B762A #2A762F #2A7655
triadic
#2A762F #2F2A76 #762F2A
tetradic
#2A762F #2A4B76 #762A71 #76552A
square
#2A762F #2A4B76 #762A71 #76552A
split-complementary
#2A762F #552A76 #762A4B
monochromatic
#0A1C0B #1A491D #2A762F #3AA341 #57C35E

Accessibility & contrast

On white

5.63
#2A762F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2A762F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A762F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A762F#FFFFFF#000000##FFFFFF
##2A762F1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B28
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#1A7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a762f;
/* rgb */ color: rgb(42, 118, 47);
/* oklch */ color: oklch(50.2% 0.129 144.4);
Tailwind
colors: {
  custom: {
    50: '#6d9e6a',
    500: '#2a762f',
    950: '#000000',
  },
}
SCSS
$custom: #2a762f;
$custom-light: #6d9e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a762f",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 47
  },
  "hsl": {
    "h": 123.947,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.12944,
    "h": 144.4
  },
  "luminance": 0.13654
}

Semantic roles & 50–950 ramp

primary
#2A762F
secondary
#A854A2
accent
#51CED7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2A762F

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

Preview Lab → · Contrast checker → · Palette generator →

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