#276012#276012

#276012 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.4% C 0.124 H 138.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#276012
RGBrgb(39, 96, 18)
HSLhsl(104, 68%, 22%)
HSVhsv(104, 81%, 38%)
CMYKcmyk(59.4%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.67, -33.80, 36.25)
CIE-LCHlch(35.67, 49.56, 132.99°)
OKLaboklab(43.43% -0.0932 0.0812)
OKLCHoklch(43.43% 0.124 138.9)
XYZxyz(5.1285, 8.8403, 2.0082)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276012 #4B1260
analogous
#4E6012 #276012 #126024
triadic
#276012 #122760 #601227
tetradic
#276012 #124E60 #4B1260 #602412
square
#276012 #124E60 #4B1260 #602412
split-complementary
#276012 #241260 #60124E
monochromatic
#0A1A05 #122C08 #276012 #3C941C #51C725

Accessibility & contrast

On white

7.59
#276012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#276012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #276012
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276012#FFFFFF#000000##FFFFFF
##2760121.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635702
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#215C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #276012;
/* rgb */ color: rgb(39, 96, 18);
/* oklch */ color: oklch(43.4% 0.124 138.9);
Tailwind
colors: {
  custom: {
    50: '#698e56',
    500: '#276012',
    950: '#000000',
  },
}
SCSS
$custom: #276012;
$custom-light: #698e56;
$custom-dark: #000000;
JSON
{
  "hex": "#276012",
  "rgb": {
    "r": 39,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 103.846,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43429,
    "c": 0.12355,
    "h": 138.9
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#276012
secondary
#7E3698
accent
#3DEBBC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #276012

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

Preview Lab → · Contrast checker → · Palette generator →

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