#276A1F#276A1F

#276A1F is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.5% C 0.128 H 141.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#276A1F
RGBrgb(39, 106, 31)
HSLhsl(114, 55%, 27%)
HSVhsv(114, 71%, 42%)
CMYKcmyk(63.2%, 0%, 70.8%, 58.4%)
CIE-LABlab(39.31, -36.71, 34.55)
CIE-LCHlch(39.31, 50.41, 136.73°)
OKLaboklab(46.46% -0.1002 0.0795)
OKLCHoklch(46.46% 0.128 141.6)
XYZxyz(6.2377, 10.8378, 3.0592)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276A1F #621F6A
analogous
#4D6A1F #276A1F #1F6A3D
triadic
#276A1F #1F276A #6A1F27
tetradic
#276A1F #1F4D6A #621F6A #6A3D1F
square
#276A1F #1F4D6A #621F6A #6A3D1F
split-complementary
#276A1F #3D1F6A #6A1F4D
monochromatic
#091807 #163B11 #276A1F #38992D #4CC63D

Accessibility & contrast

On white

6.63
#276A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#276A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276A1F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276A1F#FFFFFF#000000##FFFFFF
##276A1F1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#1D675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #276a1f;
/* rgb */ color: rgb(39, 106, 31);
/* oklch */ color: oklch(46.5% 0.128 141.6);
Tailwind
colors: {
  custom: {
    50: '#6a955f',
    500: '#276a1f',
    950: '#000000',
  },
}
SCSS
$custom: #276a1f;
$custom-light: #6a955f;
$custom-dark: #000000;
JSON
{
  "hex": "#276a1f",
  "rgb": {
    "r": 39,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 113.6,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46458,
    "c": 0.12787,
    "h": 141.6
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#276A1F
secondary
#95479E
accent
#4ADECE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #276A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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