#277F1C#277F1C

#277F1C is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.156 H 141.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#277F1C
RGBrgb(39, 127, 28)
HSLhsl(113, 64%, 30%)
HSVhsv(113, 78%, 50%)
CMYKcmyk(69.3%, 0%, 78%, 50.2%)
CIE-LABlab(46.57, -44.92, 43.26)
CIE-LCHlch(46.57, 62.36, 136.08°)
OKLaboklab(52.46% -0.1226 0.0973)
OKLCHoklch(52.46% 0.156 141.6)
XYZxyz(8.6352, 15.6930, 3.6724)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F1C #741C7F
analogous
#597F1C #277F1C #1C7F42
triadic
#277F1C #1C277F #7F1C27
tetradic
#277F1C #1C597F #741C7F #7F421C
square
#277F1C #1C597F #741C7F #7F421C
split-complementary
#277F1C #421C7F #7F1C59
monochromatic
#081B06 #184D11 #277F1C #36B127 #51D540

Accessibility & contrast

On white

5.07
#277F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#277F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277F1C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F1C#FFFFFF#000000##FFFFFF
##277F1C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827306
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#147B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277f1c;
/* rgb */ color: rgb(39, 127, 28);
/* oklch */ color: oklch(52.5% 0.156 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fa560',
    500: '#277f1c',
    950: '#000000',
  },
}
SCSS
$custom: #277f1c;
$custom-light: #6fa560;
$custom-dark: #000000;
JSON
{
  "hex": "#277f1c",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 113.333,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.15648,
    "h": 141.6
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#277F1C
secondary
#A644B3
accent
#41E7D4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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