#277B1F#277B1F

#277B1F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.150 H 141.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#277B1F
RGBrgb(39, 123, 31)
HSLhsl(115, 60%, 30%)
HSVhsv(115, 75%, 48%)
CMYKcmyk(68.3%, 0%, 74.8%, 51.8%)
CIE-LABlab(45.21, -43.22, 40.75)
CIE-LCHlch(45.21, 59.40, 136.69°)
OKLaboklab(51.35% -0.1178 0.0925)
OKLCHoklch(51.35% 0.15 141.9)
XYZxyz(8.1665, 14.6953, 3.7022)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B1F #731F7B
analogous
#557B1F #277B1F #1F7B45
triadic
#277B1F #1F277B #7B1F27
tetradic
#277B1F #1F557B #731F7B #7B451F
square
#277B1F #1F557B #731F7B #7B451F
split-complementary
#277B1F #451F7B #7B1F55
monochromatic
#081906 #184A13 #277B1F #36AC2B #51D044

Accessibility & contrast

On white

5.33
#277B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#277B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277B1F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277B1F#FFFFFF#000000##FFFFFF
##277B1F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#167769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #277b1f;
/* rgb */ color: rgb(39, 123, 31);
/* oklch */ color: oklch(51.3% 0.150 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ea261',
    500: '#277b1f',
    950: '#000000',
  },
}
SCSS
$custom: #277b1f;
$custom-light: #6ea261;
$custom-dark: #000000;
JSON
{
  "hex": "#277b1f",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 114.783,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51345,
    "c": 0.14976,
    "h": 141.9
  },
  "luminance": 0.14696
}

Semantic roles & 50–950 ramp

primary
#277B1F
secondary
#A548AE
accent
#45E3D5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#277B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva