#276F12#276F12

#276F12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.143 H 139.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#276F12
RGBrgb(39, 111, 18)
HSLhsl(106, 72%, 25%)
HSVhsv(106, 84%, 44%)
CMYKcmyk(64.9%, 0%, 83.8%, 56.5%)
CIE-LABlab(40.97, -39.72, 41.31)
CIE-LCHlch(40.97, 57.31, 133.88°)
OKLaboklab(47.8% -0.1091 0.0917)
OKLCHoklch(47.8% 0.143 139.9)
XYZxyz(6.6300, 11.8433, 2.5087)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276F12 #5A126F
analogous
#556F12 #276F12 #126F2C
triadic
#276F12 #12276F #6F1227
tetradic
#276F12 #12556F #5A126F #6F2C12
square
#276F12 #12556F #5A126F #6F2C12
split-complementary
#276F12 #2C126F #6F1255
monochromatic
#091A04 #143A09 #276F12 #3AA41B #4CD823

Accessibility & contrast

On white

6.23
#276F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#276F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276F12
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276F12#FFFFFF#000000##FFFFFF
##276F121.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#1D6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #276f12;
/* rgb */ color: rgb(39, 111, 18);
/* oklch */ color: oklch(47.8% 0.143 139.9);
Tailwind
colors: {
  custom: {
    50: '#6c9959',
    500: '#276f12',
    950: '#000000',
  },
}
SCSS
$custom: #276f12;
$custom-light: #6c9959;
$custom-dark: #000000;
JSON
{
  "hex": "#276f12",
  "rgb": {
    "r": 39,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 106.452,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.14251,
    "h": 139.9
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#276F12
secondary
#8D37A6
accent
#39EFC6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #276F12

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

Preview Lab → · Contrast checker → · Palette generator →

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