#2A762D#2A762D

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

Color values

HEX#2A762D
RGBrgb(42, 118, 45)
HSLhsl(122, 48%, 31%)
HSVhsv(122, 64%, 46%)
CMYKcmyk(64.4%, 0%, 61.9%, 53.7%)
CIE-LABlab(43.71, -39.10, 32.80)
CIE-LCHlch(43.71, 51.04, 140.01°)
OKLaboklab(50.17% -0.1061 0.0773)
OKLCHoklch(50.17% 0.131 143.9)
XYZxyz(7.9065, 13.6378, 4.6978)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A762D #762A73
analogous
#4D762A #2A762D #2A7653
triadic
#2A762D #2D2A76 #762D2A
tetradic
#2A762D #2A4D76 #762A73 #76532A
square
#2A762D #2A4D76 #762A73 #76532A
split-complementary
#2A762D #532A76 #762A4D
monochromatic
#0A1C0B #1A491C #2A762D #3AA33E #57C35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A762D#FFFFFF#000000##FFFFFF
##2A762D1.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)
#786B25
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#1A7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a762d;
/* rgb */ color: rgb(42, 118, 45);
/* oklch */ color: oklch(50.2% 0.131 143.9);
Tailwind
colors: {
  custom: {
    50: '#6d9e69',
    500: '#2a762d',
    950: '#000000',
  },
}
SCSS
$custom: #2a762d;
$custom-light: #6d9e69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a762d",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 45
  },
  "hsl": {
    "h": 122.368,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.13122,
    "h": 143.9
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#2A762D
secondary
#A854A4
accent
#51D2D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2A762D

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

Preview Lab → · Contrast checker → · Palette generator →

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