#276E1F#276E1F

#276E1F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.133 H 141.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#276E1F
RGBrgb(39, 110, 31)
HSLhsl(114, 56%, 28%)
HSVhsv(114, 72%, 43%)
CMYKcmyk(64.5%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.71, -38.29, 36.05)
CIE-LCHlch(40.71, 52.59, 136.73°)
OKLaboklab(47.62% -0.1045 0.0826)
OKLCHoklch(47.62% 0.133 141.7)
XYZxyz(6.6596, 11.6815, 3.1999)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276E1F #661F6E
analogous
#4E6E1F #276E1F #1F6E3E
triadic
#276E1F #1F276E #6E1F27
tetradic
#276E1F #1F4E6E #661F6E #6E3E1F
square
#276E1F #1F4E6E #661F6E #6E3E1F
split-complementary
#276E1F #3E1F6E #6E1F4E
monochromatic
#081807 #163E12 #276E1F #389E2C #4DC93F

Accessibility & contrast

On white

6.29
#276E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#276E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276E1F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276E1F#FFFFFF#000000##FFFFFF
##276E1F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#1B6A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #276e1f;
/* rgb */ color: rgb(39, 110, 31);
/* oklch */ color: oklch(47.6% 0.133 141.7);
Tailwind
colors: {
  custom: {
    50: '#6b985f',
    500: '#276e1f',
    950: '#000000',
  },
}
SCSS
$custom: #276e1f;
$custom-light: #6b985f;
$custom-dark: #000000;
JSON
{
  "hex": "#276e1f",
  "rgb": {
    "r": 39,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 113.924,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.13319,
    "h": 141.7
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#276E1F
secondary
#9947A2
accent
#48DFD0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #276E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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