#276F2F#276F2F

#276F2F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.121 H 145.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#276F2F
RGBrgb(39, 111, 47)
HSLhsl(127, 48%, 29%)
HSVhsv(127, 65%, 44%)
CMYKcmyk(64.9%, 0%, 57.7%, 56.5%)
CIE-LABlab(41.22, -36.73, 28.83)
CIE-LCHlch(41.22, 46.70, 141.88°)
OKLaboklab(48.1% -0.0994 0.0688)
OKLCHoklch(48.1% 0.121 145.3)
XYZxyz(7.0338, 12.0048, 4.6352)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276F2F #6F2767
analogous
#436F27 #276F2F #276F53
triadic
#276F2F #2F276F #6F2F27
tetradic
#276F2F #27436F #6F2767 #6F5327
square
#276F2F #27436F #6F2767 #6F5327
split-complementary
#276F2F #53276F #6F2743
monochromatic
#08170A #17421C #276F2F #379C42 #4FC15C

Accessibility & contrast

On white

6.17
#276F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#276F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276F2F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276F2F#FFFFFF#000000##FFFFFF
##276F2F1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#166C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #276f2f;
/* rgb */ color: rgb(39, 111, 47);
/* oklch */ color: oklch(48.1% 0.121 145.3);
Tailwind
colors: {
  custom: {
    50: '#6a9969',
    500: '#276f2f',
    950: '#000000',
  },
}
SCSS
$custom: #276f2f;
$custom-light: #6a9969;
$custom-dark: #000000;
JSON
{
  "hex": "#276f2f",
  "rgb": {
    "r": 39,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 126.667,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.12091,
    "h": 145.3
  },
  "luminance": 0.12005
}

Semantic roles & 50–950 ramp

primary
#276F2F
secondary
#A25098
accent
#50C9D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #276F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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