#276C2B#276C2B

#276C2B is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.120 H 144.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#276C2B
RGBrgb(39, 108, 43)
HSLhsl(123, 47%, 29%)
HSVhsv(123, 64%, 42%)
CMYKcmyk(63.9%, 0%, 60.2%, 57.6%)
CIE-LABlab(40.13, -36.07, 29.62)
CIE-LCHlch(40.13, 46.67, 140.61°)
OKLaboklab(47.18% -0.0978 0.0702)
OKLCHoklch(47.18% 0.12 144.3)
XYZxyz(6.6349, 11.3302, 4.1223)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276C2B #6C2768
analogous
#466C27 #276C2B #276C4E
triadic
#276C2B #2B276C #6C2B27
tetradic
#276C2B #27466C #6C2768 #6C4E27
square
#276C2B #27466C #6C2768 #6C4E27
split-complementary
#276C2B #4E276C #6C2746
monochromatic
#081609 #173F19 #276C2B #37993D #4EBF55

Accessibility & contrast

On white

6.43
#276C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #276C2B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276C2B#FFFFFF#000000##FFFFFF
##276C2B1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6225
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#19695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #276c2b;
/* rgb */ color: rgb(39, 108, 43);
/* oklch */ color: oklch(47.2% 0.120 144.3);
Tailwind
colors: {
  custom: {
    50: '#6a9766',
    500: '#276c2b',
    950: '#000000',
  },
}
SCSS
$custom: #276c2b;
$custom-light: #6a9766;
$custom-dark: #000000;
JSON
{
  "hex": "#276c2b",
  "rgb": {
    "r": 39,
    "g": 108,
    "b": 43
  },
  "hsl": {
    "h": 123.478,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4718,
    "c": 0.1204,
    "h": 144.3
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#276C2B
secondary
#9F509A
accent
#51CFD7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #276C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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