#276A2F#276A2F

#276A2F is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.7% C 0.114 H 145.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#276A2F
RGBrgb(39, 106, 47)
HSLhsl(127, 46%, 28%)
HSVhsv(127, 63%, 42%)
CMYKcmyk(63.2%, 0%, 55.7%, 58.4%)
CIE-LABlab(39.49, -34.66, 26.73)
CIE-LCHlch(39.49, 43.77, 142.36°)
OKLaboklab(46.67% -0.0938 0.0642)
OKLCHoklch(46.67% 0.114 145.6)
XYZxyz(6.5034, 10.9440, 4.4585)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276A2F #6A2762
analogous
#406A27 #276A2F #276A50
triadic
#276A2F #2F276A #6A2F27
tetradic
#276A2F #27406A #6A2762 #6A5027
square
#276A2F #27406A #6A2762 #6A5027
split-complementary
#276A2F #50276A #6A2740
monochromatic
#08160A #173D1B #276A2F #379743 #4EBE5B

Accessibility & contrast

On white

6.59
#276A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#276A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276A2F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276A2F#FFFFFF#000000##FFFFFF
##276A2F1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612A
Deuteranopia (green-blind)
#635B33
Tritanopia (blue-blind)
#18675D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #276a2f;
/* rgb */ color: rgb(39, 106, 47);
/* oklch */ color: oklch(46.7% 0.114 145.6);
Tailwind
colors: {
  custom: {
    50: '#699569',
    500: '#276a2f',
    950: '#000000',
  },
}
SCSS
$custom: #276a2f;
$custom-light: #699569;
$custom-dark: #000000;
JSON
{
  "hex": "#276a2f",
  "rgb": {
    "r": 39,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 127.164,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.11368,
    "h": 145.6
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#276A2F
secondary
#9D5094
accent
#52C6D6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #276A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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