#277212#277212

#277212 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.146 H 140.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#277212
RGBrgb(39, 114, 18)
HSLhsl(107, 73%, 26%)
HSVhsv(107, 84%, 45%)
CMYKcmyk(65.8%, 0%, 84.2%, 55.3%)
CIE-LABlab(42.01, -40.85, 42.29)
CIE-LCHlch(42.01, 58.79, 134.01°)
OKLaboklab(48.67% -0.1121 0.0938)
OKLCHoklch(48.67% 0.146 140.1)
XYZxyz(6.9629, 12.5090, 2.6197)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277212 #5D1272
analogous
#577212 #277212 #12722D
triadic
#277212 #122772 #721227
tetradic
#277212 #125772 #5D1272 #722D12
square
#277212 #125772 #5D1272 #722D12
split-complementary
#277212 #2D1272 #721257
monochromatic
#091A04 #153D0A #277212 #39A71A #4BDC23

Accessibility & contrast

On white

6.00
#277212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#277212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277212
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277212#FFFFFF#000000##FFFFFF
##2772121.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#1C6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #277212;
/* rgb */ color: rgb(39, 114, 18);
/* oklch */ color: oklch(48.7% 0.146 140.1);
Tailwind
colors: {
  custom: {
    50: '#6c9b59',
    500: '#277212',
    950: '#000000',
  },
}
SCSS
$custom: #277212;
$custom-light: #6c9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#277212",
  "rgb": {
    "r": 39,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 106.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.14615,
    "h": 140.1
  },
  "luminance": 0.1251
}

Semantic roles & 50–950 ramp

primary
#277212
secondary
#9037A9
accent
#38EFC7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #277212

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

Preview Lab → · Contrast checker → · Palette generator →

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