#277B2D#277B2D

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

Color values

HEX#277B2D
RGBrgb(39, 123, 45)
HSLhsl(124, 52%, 32%)
HSVhsv(124, 68%, 48%)
CMYKcmyk(68.3%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.34, -41.74, 34.65)
CIE-LCHlch(45.34, 54.25, 140.31°)
OKLaboklab(51.49% -0.1131 0.0813)
OKLCHoklch(51.49% 0.139 144.3)
XYZxyz(8.3928, 14.7858, 4.8938)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B2D #7B2775
analogous
#4B7B27 #277B2D #277B57
triadic
#277B2D #2D277B #7B2D27
tetradic
#277B2D #274B7B #7B2775 #7B5727
square
#277B2D #274B7B #7B2775 #7B5727
split-complementary
#277B2D #57277B #7B274B
monochromatic
#0A1E0B #184D1C #277B2D #36A93E #54C95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277B2D#FFFFFF#000000##FFFFFF
##277B2D1.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)
#7D7024
Deuteranopia (green-blind)
#736933
Tritanopia (blue-blind)
#11786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #277b2d;
/* rgb */ color: rgb(39, 123, 45);
/* oklch */ color: oklch(51.5% 0.139 144.3);
Tailwind
colors: {
  custom: {
    50: '#6da269',
    500: '#277b2d',
    950: '#000000',
  },
}
SCSS
$custom: #277b2d;
$custom-light: #6da269;
$custom-dark: #000000;
JSON
{
  "hex": "#277b2d",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 124.286,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51489,
    "c": 0.13923,
    "h": 144.3
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#277B2D
secondary
#AD51A6
accent
#4CD1DB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #277B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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