#276C2F#276C2F

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

Color values

HEX#276C2F
RGBrgb(39, 108, 47)
HSLhsl(127, 47%, 29%)
HSVhsv(127, 64%, 42%)
CMYKcmyk(63.9%, 0%, 56.5%, 57.6%)
CIE-LABlab(40.18, -35.50, 27.57)
CIE-LCHlch(40.18, 44.95, 142.16°)
OKLaboklab(47.24% -0.0961 0.0661)
OKLCHoklch(47.24% 0.117 145.5)
XYZxyz(6.7119, 11.3611, 4.5280)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276C2F #6C2764
analogous
#426C27 #276C2F #276C52
triadic
#276C2F #2F276C #6C2F27
tetradic
#276C2F #27426C #6C2764 #6C5227
square
#276C2F #27426C #6C2764 #6C5227
split-complementary
#276C2F #52276C #6C2742
monochromatic
#08160A #173F1B #276C2F #379943 #4EBF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##276C2F#FFFFFF#000000##FFFFFF
##276C2F1.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)
#6E6229
Deuteranopia (green-blind)
#655C34
Tritanopia (blue-blind)
#18695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #276c2f;
/* rgb */ color: rgb(39, 108, 47);
/* oklch */ color: oklch(47.2% 0.117 145.5);
Tailwind
colors: {
  custom: {
    50: '#699769',
    500: '#276c2f',
    950: '#000000',
  },
}
SCSS
$custom: #276c2f;
$custom-light: #699769;
$custom-dark: #000000;
JSON
{
  "hex": "#276c2f",
  "rgb": {
    "r": 39,
    "g": 108,
    "b": 47
  },
  "hsl": {
    "h": 126.957,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.1166,
    "h": 145.5
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#276C2F
secondary
#9F5096
accent
#51C7D7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #276C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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