#277312#277312

#277312 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.147 H 140.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#277312
RGBrgb(39, 115, 18)
HSLhsl(107, 73%, 26%)
HSVhsv(107, 84%, 45%)
CMYKcmyk(66.1%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.36, -41.22, 42.61)
CIE-LCHlch(42.36, 59.29, 134.05°)
OKLaboklab(48.96% -0.1131 0.0944)
OKLCHoklch(48.96% 0.147 140.1)
XYZxyz(7.0763, 12.7358, 2.6575)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277312 #5E1273
analogous
#577312 #277312 #12732D
triadic
#277312 #122773 #731227
tetradic
#277312 #125773 #5E1273 #732D12
square
#277312 #125773 #5E1273 #732D12
split-complementary
#277312 #2D1273 #731257
monochromatic
#091A04 #153E0A #277312 #39A81A #4BDD23

Accessibility & contrast

On white

5.92
#277312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#277312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277312
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277312#FFFFFF#000000##FFFFFF
##2773121.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#1B6F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #277312;
/* rgb */ color: rgb(39, 115, 18);
/* oklch */ color: oklch(49.0% 0.147 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d9c59',
    500: '#277312',
    950: '#000000',
  },
}
SCSS
$custom: #277312;
$custom-light: #6d9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#277312",
  "rgb": {
    "r": 39,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 107.01,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48958,
    "c": 0.14736,
    "h": 140.1
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#277312
secondary
#9137AA
accent
#38F0C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #277312

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

Preview Lab → · Contrast checker → · Palette generator →

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