#276C2A#276C2A

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

Color values

HEX#276C2A
RGBrgb(39, 108, 42)
HSLhsl(123, 47%, 29%)
HSVhsv(123, 64%, 42%)
CMYKcmyk(63.9%, 0%, 61.1%, 57.6%)
CIE-LABlab(40.12, -36.21, 30.12)
CIE-LCHlch(40.12, 47.10, 140.24°)
OKLaboklab(47.17% -0.0982 0.0712)
OKLCHoklch(47.17% 0.121 144.1)
XYZxyz(6.6168, 11.3230, 4.0269)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276C2A #6C2769
analogous
#476C27 #276C2A #276C4D
triadic
#276C2A #2A276C #6C2A27
tetradic
#276C2A #27476C #6C2769 #6C4D27
square
#276C2A #27476C #6C2769 #6C4D27
split-complementary
#276C2A #4D276C #6C2747
monochromatic
#081609 #173F19 #276C2A #37993B #4EBF53

Accessibility & contrast

On white

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

On black

3.26
#276C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##276C2A#FFFFFF#000000##FFFFFF
##276C2A1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #276c2a;
/* rgb */ color: rgb(39, 108, 42);
/* oklch */ color: oklch(47.2% 0.121 144.1);
Tailwind
colors: {
  custom: {
    50: '#6a9766',
    500: '#276c2a',
    950: '#000000',
  },
}
SCSS
$custom: #276c2a;
$custom-light: #6a9766;
$custom-dark: #000000;
JSON
{
  "hex": "#276c2a",
  "rgb": {
    "r": 39,
    "g": 108,
    "b": 42
  },
  "hsl": {
    "h": 122.609,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47167,
    "c": 0.12132,
    "h": 144.1
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#276C2A
secondary
#9F509B
accent
#51D1D7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #276C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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