#2A751E#2A751E

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

Color values

HEX#2A751E
RGBrgb(42, 117, 30)
HSLhsl(112, 59%, 29%)
HSVhsv(112, 74%, 46%)
CMYKcmyk(64.1%, 0%, 74.4%, 54.1%)
CIE-LABlab(43.22, -40.34, 39.14)
CIE-LCHlch(43.22, 56.20, 135.87°)
OKLaboklab(49.72% -0.1103 0.0889)
OKLCHoklch(49.72% 0.142 141.1)
XYZxyz(7.5501, 13.3078, 3.3988)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A751E #691E75
analogous
#56751E #2A751E #1E753E
triadic
#2A751E #1E2A75 #751E2A
tetradic
#2A751E #1E5675 #691E75 #753E1E
square
#2A751E #1E5675 #691E75 #753E1E
split-complementary
#2A751E #3E1E75 #751E56
monochromatic
#091806 #194412 #2A751E #3BA62A #53CE40

Accessibility & contrast

On white

5.73
#2A751E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A751E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A751E#FFFFFF#000000##FFFFFF
##2A751E1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A10
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#1E7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a751e;
/* rgb */ color: rgb(42, 117, 30);
/* oklch */ color: oklch(49.7% 0.142 141.1);
Tailwind
colors: {
  custom: {
    50: '#6e9d60',
    500: '#2a751e',
    950: '#000000',
  },
}
SCSS
$custom: #2a751e;
$custom-light: #6e9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a751e",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 111.724,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4972,
    "c": 0.14165,
    "h": 141.1
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#2A751E
secondary
#9B46A9
accent
#45E2CD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A751E

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

Preview Lab → · Contrast checker → · Palette generator →

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