#276512#276512

#276512 is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.9% C 0.130 H 139.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#276512
RGBrgb(39, 101, 18)
HSLhsl(105, 70%, 23%)
HSVhsv(105, 82%, 40%)
CMYKcmyk(61.4%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.45, -35.83, 37.97)
CIE-LCHlch(37.45, 52.20, 133.34°)
OKLaboklab(44.89% -0.0986 0.0847)
OKLCHoklch(44.89% 0.13 139.3)
XYZxyz(5.5993, 9.7819, 2.1652)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276512 #501265
analogous
#506512 #276512 #126526
triadic
#276512 #122765 #651227
tetradic
#276512 #125065 #501265 #652612
square
#276512 #125065 #501265 #652612
split-complementary
#276512 #261265 #651250
monochromatic
#0A1A05 #133109 #276512 #3B991B #4FCD25

Accessibility & contrast

On white

7.10
#276512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#276512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #276512
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276512#FFFFFF#000000##FFFFFF
##2765121.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#206155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #276512;
/* rgb */ color: rgb(39, 101, 18);
/* oklch */ color: oklch(44.9% 0.130 139.3);
Tailwind
colors: {
  custom: {
    50: '#6a9157',
    500: '#276512',
    950: '#000000',
  },
}
SCSS
$custom: #276512;
$custom-light: #6a9157;
$custom-dark: #000000;
JSON
{
  "hex": "#276512",
  "rgb": {
    "r": 39,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 104.819,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44893,
    "c": 0.13002,
    "h": 139.3
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#276512
secondary
#83369D
accent
#3BEDC0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #276512

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

Preview Lab → · Contrast checker → · Palette generator →

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