#276912#276912

#276912 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.135 H 139.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#276912
RGBrgb(39, 105, 18)
HSLhsl(106, 71%, 24%)
HSVhsv(106, 83%, 41%)
CMYKcmyk(62.9%, 0%, 82.9%, 58.8%)
CIE-LABlab(38.86, -37.41, 39.32)
CIE-LCHlch(38.86, 54.27, 133.58°)
OKLaboklab(46.06% -0.1029 0.0876)
OKLCHoklch(46.06% 0.135 139.6)
XYZxyz(5.9972, 10.5776, 2.2978)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276912 #541269
analogous
#536912 #276912 #126929
triadic
#276912 #122769 #691227
tetradic
#276912 #125369 #541269 #692912
square
#276912 #125369 #541269 #692912
split-complementary
#276912 #291269 #691253
monochromatic
#0A1A04 #143509 #276912 #3A9D1B #4ED124

Accessibility & contrast

On white

6.74
#276912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#276912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276912
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276912#FFFFFF#000000##FFFFFF
##2769121.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#1F6559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #276912;
/* rgb */ color: rgb(39, 105, 18);
/* oklch */ color: oklch(46.1% 0.135 139.6);
Tailwind
colors: {
  custom: {
    50: '#6a9558',
    500: '#276912',
    950: '#000000',
  },
}
SCSS
$custom: #276912;
$custom-light: #6a9558;
$custom-dark: #000000;
JSON
{
  "hex": "#276912",
  "rgb": {
    "r": 39,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 105.517,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.13509,
    "h": 139.6
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#276912
secondary
#8736A1
accent
#3AEDC2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #276912

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

Preview Lab → · Contrast checker → · Palette generator →

#276912 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva