#2D661F#2D661F

#2D661F is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.5% C 0.119 H 139.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2D661F
RGBrgb(45, 102, 31)
HSLhsl(108, 53%, 26%)
HSVhsv(108, 70%, 40%)
CMYKcmyk(55.9%, 0%, 69.6%, 60%)
CIE-LABlab(38.13, -33.33, 33.34)
CIE-LCHlch(38.13, 47.15, 134.99°)
OKLaboklab(45.55% -0.0914 0.0769)
OKLCHoklch(45.55% 0.119 139.9)
XYZxyz(6.0806, 10.1591, 2.9365)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D661F #581F66
analogous
#50661F #2D661F #1F6634
triadic
#2D661F #1F2D66 #661F2D
tetradic
#2D661F #1F5066 #581F66 #66341F
square
#2D661F #1F5066 #581F66 #66341F
split-complementary
#2D661F #341F66 #661F50
monochromatic
#0A1707 #183711 #2D661F #42952D #57C43C

Accessibility & contrast

On white

6.93
#2D661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2D661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D661F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D661F#FFFFFF#000000##FFFFFF
##2D661F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D16
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#276357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d661f;
/* rgb */ color: rgb(45, 102, 31);
/* oklch */ color: oklch(45.5% 0.119 139.9);
Tailwind
colors: {
  custom: {
    50: '#6c925e',
    500: '#2d661f',
    950: '#000000',
  },
}
SCSS
$custom: #2d661f;
$custom-light: #6c925e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d661f",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 108.169,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.11945,
    "h": 139.9
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#2D661F
secondary
#8A469A
accent
#4BDDC0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2D661F

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

Preview Lab → · Contrast checker → · Palette generator →

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