#276212#276212

#276212 is a dark, vivid green. Relative luminance 0.092; OKLCH L 44.0% C 0.126 H 139.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#276212
RGBrgb(39, 98, 18)
HSLhsl(104, 69%, 23%)
HSVhsv(104, 82%, 38%)
CMYKcmyk(60.2%, 0%, 81.6%, 61.6%)
CIE-LABlab(36.39, -34.62, 36.94)
CIE-LCHlch(36.39, 50.63, 133.14°)
OKLaboklab(44.02% -0.0954 0.0826)
OKLCHoklch(44.02% 0.126 139.1)
XYZxyz(5.3133, 9.2099, 2.0698)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276212 #4D1262
analogous
#4F6212 #276212 #126225
triadic
#276212 #122762 #621227
tetradic
#276212 #124F62 #4D1262 #622512
square
#276212 #124F62 #4D1262 #622512
split-complementary
#276212 #251262 #62124F
monochromatic
#0A1A05 #122E09 #276212 #3C961B #50C925

Accessibility & contrast

On white

7.39
#276212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#276212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #276212
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276212#FFFFFF#000000##FFFFFF
##2762121.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#215E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #276212;
/* rgb */ color: rgb(39, 98, 18);
/* oklch */ color: oklch(44.0% 0.126 139.1);
Tailwind
colors: {
  custom: {
    50: '#698f57',
    500: '#276212',
    950: '#000000',
  },
}
SCSS
$custom: #276212;
$custom-light: #698f57;
$custom-dark: #000000;
JSON
{
  "hex": "#276212",
  "rgb": {
    "r": 39,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 104.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.12616,
    "h": 139.1
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

primary
#276212
secondary
#80369A
accent
#3CECBE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #276212

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

Preview Lab → · Contrast checker → · Palette generator →

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