#276C2D#276C2D

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

Color values

HEX#276C2D
RGBrgb(39, 108, 45)
HSLhsl(125, 47%, 29%)
HSVhsv(125, 64%, 42%)
CMYKcmyk(63.9%, 0%, 58.3%, 57.6%)
CIE-LABlab(40.16, -35.79, 28.61)
CIE-LCHlch(40.16, 45.82, 141.37°)
OKLaboklab(47.21% -0.0969 0.0682)
OKLCHoklch(47.21% 0.119 144.9)
XYZxyz(6.6725, 11.3453, 4.3203)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276C2D #6C2766
analogous
#446C27 #276C2D #276C50
triadic
#276C2D #2D276C #6C2D27
tetradic
#276C2D #27446C #6C2766 #6C5027
square
#276C2D #27446C #6C2766 #6C5027
split-complementary
#276C2D #50276C #6C2744
monochromatic
#081609 #173F1A #276C2D #379940 #4EBF58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #276c2d;
/* rgb */ color: rgb(39, 108, 45);
/* oklch */ color: oklch(47.2% 0.119 144.9);
Tailwind
colors: {
  custom: {
    50: '#6a9768',
    500: '#276c2d',
    950: '#000000',
  },
}
SCSS
$custom: #276c2d;
$custom-light: #6a9768;
$custom-dark: #000000;
JSON
{
  "hex": "#276c2d",
  "rgb": {
    "r": 39,
    "g": 108,
    "b": 45
  },
  "hsl": {
    "h": 125.217,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47209,
    "c": 0.11852,
    "h": 144.9
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#276C2D
secondary
#9F5098
accent
#51CBD7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #276C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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