#276C20#276C20

#276C20 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.130 H 141.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#276C20
RGBrgb(39, 108, 32)
HSLhsl(114, 54%, 27%)
HSVhsv(114, 70%, 42%)
CMYKcmyk(63.9%, 0%, 70.4%, 57.6%)
CIE-LABlab(40.02, -37.40, 34.86)
CIE-LCHlch(40.02, 51.13, 137.01°)
OKLaboklab(47.05% -0.102 0.0803)
OKLCHoklch(47.05% 0.13 141.8)
XYZxyz(6.4596, 11.2601, 3.1992)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276C20 #65206C
analogous
#4D6C20 #276C20 #206C3F
triadic
#276C20 #20276C #6C2027
tetradic
#276C20 #204D6C #65206C #6C3F20
square
#276C20 #204D6C #65206C #6C3F20
split-complementary
#276C20 #3F206C #6C204D
monochromatic
#091807 #163D12 #276C20 #389B2E #4CC640

Accessibility & contrast

On white

6.46
#276C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #276C20
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276C20#FFFFFF#000000##FFFFFF
##276C201.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6216
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#1C695C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #276c20;
/* rgb */ color: rgb(39, 108, 32);
/* oklch */ color: oklch(47.0% 0.130 141.8);
Tailwind
colors: {
  custom: {
    50: '#6a9760',
    500: '#276c20',
    950: '#000000',
  },
}
SCSS
$custom: #276c20;
$custom-light: #6a9760;
$custom-dark: #000000;
JSON
{
  "hex": "#276c20",
  "rgb": {
    "r": 39,
    "g": 108,
    "b": 32
  },
  "hsl": {
    "h": 114.474,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47047,
    "c": 0.12978,
    "h": 141.8
  },
  "luminance": 0.11261
}

Semantic roles & 50–950 ramp

primary
#276C20
secondary
#9848A0
accent
#4ADED0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #276C20

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

Preview Lab → · Contrast checker → · Palette generator →

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