#277B2C#277B2C

#277B2C is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.140 H 144.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#277B2C
RGBrgb(39, 123, 44)
HSLhsl(124, 52%, 32%)
HSVhsv(124, 68%, 48%)
CMYKcmyk(68.3%, 0%, 64.2%, 51.8%)
CIE-LABlab(45.33, -41.87, 35.12)
CIE-LCHlch(45.33, 54.64, 140.01°)
OKLaboklab(51.48% -0.1134 0.0822)
OKLCHoklch(51.48% 0.14 144.1)
XYZxyz(8.3738, 14.7782, 4.7936)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B2C #7B2776
analogous
#4C7B27 #277B2C #277B56
triadic
#277B2C #2C277B #7B2C27
tetradic
#277B2C #274C7B #7B2776 #7B5627
square
#277B2C #274C7B #7B2776 #7B5627
split-complementary
#277B2C #56277B #7B274C
monochromatic
#0A1E0B #184D1B #277B2C #36A93D #54C95B

Accessibility & contrast

On white

5.31
#277B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#277B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277B2C
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277B2C#FFFFFF#000000##FFFFFF
##277B2C1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7023
Deuteranopia (green-blind)
#736933
Tritanopia (blue-blind)
#11786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #277b2c;
/* rgb */ color: rgb(39, 123, 44);
/* oklch */ color: oklch(51.5% 0.140 144.1);
Tailwind
colors: {
  custom: {
    50: '#6da268',
    500: '#277b2c',
    950: '#000000',
  },
}
SCSS
$custom: #277b2c;
$custom-light: #6da268;
$custom-dark: #000000;
JSON
{
  "hex": "#277b2c",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 123.571,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.14007,
    "h": 144.1
  },
  "luminance": 0.14779
}

Semantic roles & 50–950 ramp

primary
#277B2C
secondary
#AD51A7
accent
#4CD3DB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #277B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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