#276C2E#276C2E

#276C2E is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.2% C 0.118 H 145.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#276C2E
RGBrgb(39, 108, 46)
HSLhsl(126, 47%, 29%)
HSVhsv(126, 64%, 42%)
CMYKcmyk(63.9%, 0%, 57.4%, 57.6%)
CIE-LABlab(40.17, -35.64, 28.09)
CIE-LCHlch(40.17, 45.38, 141.76°)
OKLaboklab(47.22% -0.0965 0.0671)
OKLCHoklch(47.22% 0.118 145.2)
XYZxyz(6.6920, 11.3531, 4.4229)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276C2E #6C2765
analogous
#436C27 #276C2E #276C51
triadic
#276C2E #2E276C #6C2E27
tetradic
#276C2E #27436C #6C2765 #6C5127
square
#276C2E #27436C #6C2765 #6C5127
split-complementary
#276C2E #51276C #6C2743
monochromatic
#08160A #173F1B #276C2E #379941 #4EBF5A

Accessibility & contrast

On white

6.42
#276C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#276C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276C2E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276C2E#FFFFFF#000000##FFFFFF
##276C2E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6228
Deuteranopia (green-blind)
#655C33
Tritanopia (blue-blind)
#18695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #276c2e;
/* rgb */ color: rgb(39, 108, 46);
/* oklch */ color: oklch(47.2% 0.118 145.2);
Tailwind
colors: {
  custom: {
    50: '#6a9768',
    500: '#276c2e',
    950: '#000000',
  },
}
SCSS
$custom: #276c2e;
$custom-light: #6a9768;
$custom-dark: #000000;
JSON
{
  "hex": "#276c2e",
  "rgb": {
    "r": 39,
    "g": 108,
    "b": 46
  },
  "hsl": {
    "h": 126.087,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47224,
    "c": 0.11756,
    "h": 145.2
  },
  "luminance": 0.11354
}

Semantic roles & 50–950 ramp

primary
#276C2E
secondary
#9F5097
accent
#51C9D7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #276C2E

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

Preview Lab → · Contrast checker → · Palette generator →

#276C2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva