#2D741B#2D741B

#2D741B is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.141 H 140.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2D741B
RGBrgb(45, 116, 27)
HSLhsl(108, 62%, 28%)
HSVhsv(108, 77%, 45%)
CMYKcmyk(61.2%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.95, -39.41, 40.09)
CIE-LCHlch(42.95, 56.22, 134.51°)
OKLaboklab(49.52% -0.1081 0.0905)
OKLCHoklch(49.52% 0.141 140.1)
XYZxyz(7.5251, 13.1271, 3.1739)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D741B #621B74
analogous
#59741B #2D741B #1B7435
triadic
#2D741B #1B2D74 #741B2D
tetradic
#2D741B #1B5974 #621B74 #74351B
square
#2D741B #1B5974 #621B74 #74351B
split-complementary
#2D741B #351B74 #741B59
monochromatic
#0A1906 #1A420F #2D741B #40A627 #57D139

Accessibility & contrast

On white

5.79
#2D741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2D741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D741B
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D741B#FFFFFF#000000##FFFFFF
##2D741B1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6F6324
Tritanopia (blue-blind)
#247063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d741b;
/* rgb */ color: rgb(45, 116, 27);
/* oklch */ color: oklch(49.5% 0.141 140.1);
Tailwind
colors: {
  custom: {
    50: '#6f9d5e',
    500: '#2d741b',
    950: '#000000',
  },
}
SCSS
$custom: #2d741b;
$custom-light: #6f9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d741b",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 107.865,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49519,
    "c": 0.141,
    "h": 140.1
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#2D741B
secondary
#9442A9
accent
#42E5C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D741B

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

Preview Lab → · Contrast checker → · Palette generator →

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