#277F18#277F18

#277F18 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.159 H 141.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#277F18
RGBrgb(39, 127, 24)
HSLhsl(111, 68%, 30%)
HSVhsv(111, 81%, 50%)
CMYKcmyk(69.3%, 0%, 81.1%, 50.2%)
CIE-LABlab(46.55, -45.21, 44.63)
CIE-LCHlch(46.55, 63.52, 135.37°)
OKLaboklab(52.43% -0.1235 0.0996)
OKLCHoklch(52.43% 0.159 141.1)
XYZxyz(8.5905, 15.6751, 3.4369)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F18 #70187F
analogous
#5B7F18 #277F18 #187F3D
triadic
#277F18 #18277F #7F1827
tetradic
#277F18 #185B7F #70187F #7F3D18
square
#277F18 #185B7F #70187F #7F3D18
split-complementary
#277F18 #3D187F #7F185B
monochromatic
#081A05 #174C0E #277F18 #37B222 #50D938

Accessibility & contrast

On white

5.08
#277F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #277F18
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F18#FFFFFF#000000##FFFFFF
##277F181.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#157B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277f18;
/* rgb */ color: rgb(39, 127, 24);
/* oklch */ color: oklch(52.4% 0.159 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa55e',
    500: '#277f18',
    950: '#000000',
  },
}
SCSS
$custom: #277f18;
$custom-light: #6fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#277f18",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 111.262,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.15867,
    "h": 141.1
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#277F18
secondary
#A23FB3
accent
#3DEBD2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277F18

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

Preview Lab → · Contrast checker → · Palette generator →

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