#276F1F#276F1F

#276F1F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.135 H 141.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#276F1F
RGBrgb(39, 111, 31)
HSLhsl(114, 56%, 28%)
HSVhsv(114, 72%, 44%)
CMYKcmyk(64.9%, 0%, 72.1%, 56.5%)
CIE-LABlab(41.05, -38.68, 36.42)
CIE-LCHlch(41.05, 53.13, 136.73°)
OKLaboklab(47.9% -0.1055 0.0834)
OKLCHoklch(47.9% 0.135 141.7)
XYZxyz(6.7681, 11.8985, 3.2360)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276F1F #671F6F
analogous
#4F6F1F #276F1F #1F6F3F
triadic
#276F1F #1F276F #6F1F27
tetradic
#276F1F #1F4F6F #671F6F #6F3F1F
square
#276F1F #1F4F6F #671F6F #6F3F1F
split-complementary
#276F1F #3F1F6F #6F1F4F
monochromatic
#081807 #163F12 #276F1F #389F2C #4DC93F

Accessibility & contrast

On white

6.21
#276F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#276F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276F1F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276F1F#FFFFFF#000000##FFFFFF
##276F1F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726413
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#1B6B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #276f1f;
/* rgb */ color: rgb(39, 111, 31);
/* oklch */ color: oklch(47.9% 0.135 141.7);
Tailwind
colors: {
  custom: {
    50: '#6b995f',
    500: '#276f1f',
    950: '#000000',
  },
}
SCSS
$custom: #276f1f;
$custom-light: #6b995f;
$custom-dark: #000000;
JSON
{
  "hex": "#276f1f",
  "rgb": {
    "r": 39,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 114,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47903,
    "c": 0.1345,
    "h": 141.7
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#276F1F
secondary
#9A47A3
accent
#48E0D0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #276F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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