#27971B#27971B

#27971B is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.185 H 141.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#27971B
RGBrgb(39, 151, 27)
HSLhsl(114, 70%, 35%)
HSVhsv(114, 82%, 59%)
CMYKcmyk(74.2%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.70, -53.22, 51.40)
CIE-LCHlch(54.70, 73.99, 136.00°)
OKLaboklab(59.21% -0.145 0.1141)
OKLCHoklch(59.21% 0.185 141.8)
XYZxyz(12.1004, 22.6423, 4.7694)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27971B #8B1B97
analogous
#65971B #27971B #1B974D
triadic
#27971B #1B2797 #971B27
tetradic
#27971B #1B6597 #8B1B97 #974D1B
square
#27971B #1B6597 #8B1B97 #974D1B
split-complementary
#27971B #4D1B97 #971B65
monochromatic
#0C2F08 #1A6312 #27971B #34CB24 #5BDF4D

Accessibility & contrast

On white

3.80
#27971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#27971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27971B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27971B#FFFFFF#000000##000000
##27971B1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #27971b;
/* rgb */ color: rgb(39, 151, 27);
/* oklch */ color: oklch(59.2% 0.185 141.8);
Tailwind
colors: {
  custom: {
    50: '#74b763',
    500: '#27971b',
    950: '#000000',
  },
}
SCSS
$custom: #27971b;
$custom-light: #74b763;
$custom-dark: #000000;
JSON
{
  "hex": "#27971b",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 114.194,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.18455,
    "h": 141.8
  },
  "luminance": 0.22644
}

Semantic roles & 50–950 ramp

primary
#27971B
secondary
#B64CC1
accent
#3BECDB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #27971B

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

Preview Lab → · Contrast checker → · Palette generator →

#27971B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva