#276B2F#276B2F

#276B2F is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.0% C 0.115 H 145.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#276B2F
RGBrgb(39, 107, 47)
HSLhsl(127, 47%, 29%)
HSVhsv(127, 64%, 42%)
CMYKcmyk(63.6%, 0%, 56.1%, 58%)
CIE-LABlab(39.83, -35.08, 27.15)
CIE-LCHlch(39.83, 44.36, 142.26°)
OKLaboklab(46.95% -0.095 0.0651)
OKLCHoklch(46.95% 0.115 145.6)
XYZxyz(6.6071, 11.1513, 4.4930)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276B2F #6B2763
analogous
#416B27 #276B2F #276B51
triadic
#276B2F #2F276B #6B2F27
tetradic
#276B2F #27416B #6B2763 #6B5127
square
#276B2F #27416B #6B2763 #6B5127
split-complementary
#276B2F #51276B #6B2741
monochromatic
#08160A #173E1B #276B2F #379843 #4EBE5B

Accessibility & contrast

On white

6.50
#276B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#276B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276B2F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276B2F#FFFFFF#000000##FFFFFF
##276B2F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D612A
Deuteranopia (green-blind)
#645C33
Tritanopia (blue-blind)
#18685D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #276b2f;
/* rgb */ color: rgb(39, 107, 47);
/* oklch */ color: oklch(47.0% 0.115 145.6);
Tailwind
colors: {
  custom: {
    50: '#699669',
    500: '#276b2f',
    950: '#000000',
  },
}
SCSS
$custom: #276b2f;
$custom-light: #699669;
$custom-dark: #000000;
JSON
{
  "hex": "#276b2f",
  "rgb": {
    "r": 39,
    "g": 107,
    "b": 47
  },
  "hsl": {
    "h": 127.059,
    "s": 46.575,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.11515,
    "h": 145.6
  },
  "luminance": 0.11152
}

Semantic roles & 50–950 ramp

primary
#276B2F
secondary
#9E5095
accent
#52C7D6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #276B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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