#2A751C#2A751C

#2A751C is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.143 H 140.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2A751C
RGBrgb(42, 117, 28)
HSLhsl(111, 61%, 28%)
HSVhsv(111, 76%, 46%)
CMYKcmyk(64.1%, 0%, 76.1%, 54.1%)
CIE-LABlab(43.21, -40.51, 39.93)
CIE-LCHlch(43.21, 56.88, 135.42°)
OKLaboklab(49.7% -0.1108 0.0903)
OKLCHoklch(49.7% 0.143 140.8)
XYZxyz(7.5254, 13.2979, 3.2686)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A751C #671C75
analogous
#56751C #2A751C #1C753A
triadic
#2A751C #1C2A75 #751C2A
tetradic
#2A751C #1C5675 #671C75 #753A1C
square
#2A751C #1C5675 #671C75 #753A1C
split-complementary
#2A751C #3A1C75 #751C56
monochromatic
#091906 #184410 #2A751C #3CA628 #53D03B

Accessibility & contrast

On white

5.74
#2A751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2A751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A751C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A751C#FFFFFF#000000##FFFFFF
##2A751C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0C
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#1F7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a751c;
/* rgb */ color: rgb(42, 117, 28);
/* oklch */ color: oklch(49.7% 0.143 140.8);
Tailwind
colors: {
  custom: {
    50: '#6e9d5e',
    500: '#2a751c',
    950: '#000000',
  },
}
SCSS
$custom: #2a751c;
$custom-light: #6e9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a751c",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 110.562,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.14297,
    "h": 140.8
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#2A751C
secondary
#9944A9
accent
#43E4CB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A751C

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

Preview Lab → · Contrast checker → · Palette generator →

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