#276C1B#276C1B

#276C1B is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.133 H 140.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#276C1B
RGBrgb(39, 108, 27)
HSLhsl(111, 60%, 26%)
HSVhsv(111, 75%, 42%)
CMYKcmyk(63.9%, 0%, 75%, 57.6%)
CIE-LABlab(39.97, -37.88, 37.00)
CIE-LCHlch(39.97, 52.95, 135.68°)
OKLaboklab(47% -0.1036 0.0841)
OKLCHoklch(47% 0.133 140.9)
XYZxyz(6.3968, 11.2350, 2.8682)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276C1B #601B6C
analogous
#506C1B #276C1B #1B6C38
triadic
#276C1B #1B276C #6C1B27
tetradic
#276C1B #1B506C #601B6C #6C381B
square
#276C1B #1B506C #601B6C #6C381B
split-complementary
#276C1B #381B6C #6C1B50
monochromatic
#091806 #153B0F #276C1B #399D27 #4BCC35

Accessibility & contrast

On white

6.47
#276C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#276C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276C1B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276C1B#FFFFFF#000000##FFFFFF
##276C1B1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620E
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#1D685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #276c1b;
/* rgb */ color: rgb(39, 108, 27);
/* oklch */ color: oklch(47.0% 0.133 140.9);
Tailwind
colors: {
  custom: {
    50: '#6b975d',
    500: '#276c1b',
    950: '#000000',
  },
}
SCSS
$custom: #276c1b;
$custom-light: #6b975d;
$custom-dark: #000000;
JSON
{
  "hex": "#276c1b",
  "rgb": {
    "r": 39,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 111.111,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.13342,
    "h": 140.9
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#276C1B
secondary
#9342A1
accent
#45E3CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #276C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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