#277D1C#277D1C

#277D1C is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.154 H 141.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#277D1C
RGBrgb(39, 125, 28)
HSLhsl(113, 63%, 30%)
HSVhsv(113, 78%, 49%)
CMYKcmyk(68.8%, 0%, 77.6%, 51%)
CIE-LABlab(45.88, -44.20, 42.58)
CIE-LCHlch(45.88, 61.37, 136.07°)
OKLaboklab(51.89% -0.1206 0.0959)
OKLCHoklch(51.89% 0.154 141.5)
XYZxyz(8.3795, 15.1815, 3.5871)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277D1C #721C7D
analogous
#577D1C #277D1C #1C7D42
triadic
#277D1C #1C277D #7D1C27
tetradic
#277D1C #1C577D #721C7D #7D421C
square
#277D1C #1C577D #721C7D #7D421C
split-complementary
#277D1C #421C7D #7D1C57
monochromatic
#081906 #174B11 #277D1C #37AF27 #50D43F

Accessibility & contrast

On white

5.20
#277D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#277D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277D1C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277D1C#FFFFFF#000000##FFFFFF
##277D1C1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807107
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#15796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277d1c;
/* rgb */ color: rgb(39, 125, 28);
/* oklch */ color: oklch(51.9% 0.154 141.5);
Tailwind
colors: {
  custom: {
    50: '#6ea460',
    500: '#277d1c',
    950: '#000000',
  },
}
SCSS
$custom: #277d1c;
$custom-light: #6ea460;
$custom-dark: #000000;
JSON
{
  "hex": "#277d1c",
  "rgb": {
    "r": 39,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 113.196,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51892,
    "c": 0.15407,
    "h": 141.5
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#277D1C
secondary
#A444B1
accent
#41E6D4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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