#276C17#276C17

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

Color values

HEX#276C17
RGBrgb(39, 108, 23)
HSLhsl(109, 65%, 26%)
HSVhsv(109, 79%, 42%)
CMYKcmyk(63.9%, 0%, 78.7%, 57.6%)
CIE-LABlab(39.94, -38.22, 38.56)
CIE-LCHlch(39.94, 54.29, 134.74°)
OKLaboklab(46.97% -0.1048 0.0867)
OKLCHoklch(46.97% 0.136 140.4)
XYZxyz(6.3536, 11.2177, 2.6409)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276C17 #5C176C
analogous
#516C17 #276C17 #176C31
triadic
#276C17 #17276C #6C1727
tetradic
#276C17 #17516C #5C176C #6C3117
square
#276C17 #17516C #5C176C #6C3117
split-complementary
#276C17 #31176C #6C1751
monochromatic
#091905 #153A0C #276C17 #399E22 #4BD12C

Accessibility & contrast

On white

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

On black

3.24
#276C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##276C17#FFFFFF#000000##FFFFFF
##276C171.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6206
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#1D685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #276c17;
/* rgb */ color: rgb(39, 108, 23);
/* oklch */ color: oklch(47.0% 0.136 140.4);
Tailwind
colors: {
  custom: {
    50: '#6b975b',
    500: '#276c17',
    950: '#000000',
  },
}
SCSS
$custom: #276c17;
$custom-light: #6b975b;
$custom-dark: #000000;
JSON
{
  "hex": "#276c17",
  "rgb": {
    "r": 39,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 108.706,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46966,
    "c": 0.13601,
    "h": 140.4
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#276C17
secondary
#8F3DA2
accent
#40E8C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #276C17

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

Preview Lab → · Contrast checker → · Palette generator →

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