#27971D#27971D

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

Color values

HEX#27971D
RGBrgb(39, 151, 29)
HSLhsl(115, 68%, 35%)
HSVhsv(115, 81%, 59%)
CMYKcmyk(74.2%, 0%, 80.8%, 40.8%)
CIE-LABlab(54.71, -53.10, 50.80)
CIE-LCHlch(54.71, 73.48, 136.27°)
OKLaboklab(59.22% -0.1446 0.1132)
OKLCHoklch(59.22% 0.184 142)
XYZxyz(12.1244, 22.6519, 4.8954)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27971D #8D1D97
analogous
#64971D #27971D #1D9750
triadic
#27971D #1D2797 #971D27
tetradic
#27971D #1D6497 #8D1D97 #97501D
square
#27971D #1D6497 #8D1D97 #97501D
split-complementary
#27971D #501D97 #971D64
monochromatic
#0C3009 #1A6413 #27971D #34CA27 #5CDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27971D#FFFFFF#000000##000000
##27971D1.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)
#8E802C
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #27971d;
/* rgb */ color: rgb(39, 151, 29);
/* oklch */ color: oklch(59.2% 0.184 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b764',
    500: '#27971d',
    950: '#000000',
  },
}
SCSS
$custom: #27971d;
$custom-light: #74b764;
$custom-dark: #000000;
JSON
{
  "hex": "#27971d",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 115.082,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59221,
    "c": 0.18362,
    "h": 142
  },
  "luminance": 0.22653
}

Semantic roles & 50–950 ramp

primary
#27971D
secondary
#B74FC0
accent
#3DEBDC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #27971D

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

Preview Lab → · Contrast checker → · Palette generator →

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