#277F1E#277F1E

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

Color values

HEX#277F1E
RGBrgb(39, 127, 30)
HSLhsl(114, 62%, 31%)
HSVhsv(114, 76%, 50%)
CMYKcmyk(69.3%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.58, -44.76, 42.53)
CIE-LCHlch(46.58, 61.74, 136.47°)
OKLaboklab(52.48% -0.122 0.096)
OKLCHoklch(52.48% 0.155 141.8)
XYZxyz(8.6599, 15.7029, 3.8026)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F1E #761E7F
analogous
#577F1E #277F1E #1E7F45
triadic
#277F1E #1E277F #7F1E27
tetradic
#277F1E #1E577F #761E7F #7F451E
square
#277F1E #1E577F #761E7F #7F451E
split-complementary
#277F1E #451E7F #7F1E57
monochromatic
#091C07 #184D12 #277F1E #36B12A #52D344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277F1E#FFFFFF#000000##FFFFFF
##277F1E1.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)
#82730B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#147B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277f1e;
/* rgb */ color: rgb(39, 127, 30);
/* oklch */ color: oklch(52.5% 0.155 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fa561',
    500: '#277f1e',
    950: '#000000',
  },
}
SCSS
$custom: #277f1e;
$custom-light: #6fa561;
$custom-dark: #000000;
JSON
{
  "hex": "#277f1e",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 114.433,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.15529,
    "h": 141.8
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#277F1E
secondary
#A847B2
accent
#43E5D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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