#2A761B#2A761B

#2A761B is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.145 H 140.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2A761B
RGBrgb(42, 118, 27)
HSLhsl(110, 63%, 28%)
HSVhsv(110, 77%, 46%)
CMYKcmyk(64.4%, 0%, 77.1%, 53.7%)
CIE-LABlab(43.55, -40.97, 40.66)
CIE-LCHlch(43.55, 57.72, 135.22°)
OKLaboklab(49.98% -0.1121 0.0917)
OKLCHoklch(49.98% 0.145 140.7)
XYZxyz(7.6307, 13.5275, 3.2456)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A761B #671B76
analogous
#57761B #2A761B #1B7639
triadic
#2A761B #1B2A76 #761B2A
tetradic
#2A761B #1B5776 #671B76 #76391B
square
#2A761B #1B5776 #671B76 #76391B
split-complementary
#2A761B #391B76 #761B57
monochromatic
#091906 #184410 #2A761B #3CA826 #53D23A

Accessibility & contrast

On white

5.67
#2A761B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2A761B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A761B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A761B#FFFFFF#000000##FFFFFF
##2A761B1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#1E7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a761b;
/* rgb */ color: rgb(42, 118, 27);
/* oklch */ color: oklch(50.0% 0.145 140.7);
Tailwind
colors: {
  custom: {
    50: '#6e9e5e',
    500: '#2a761b',
    950: '#000000',
  },
}
SCSS
$custom: #2a761b;
$custom-light: #6e9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a761b",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 110.11,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49982,
    "c": 0.14485,
    "h": 140.7
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#2A761B
secondary
#9942AA
accent
#42E6CB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A761B

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

Preview Lab → · Contrast checker → · Palette generator →

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