#27971A#27971A

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

Color values

HEX#27971A
RGBrgb(39, 151, 26)
HSLhsl(114, 71%, 35%)
HSVhsv(114, 83%, 59%)
CMYKcmyk(74.2%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.70, -53.28, 51.69)
CIE-LCHlch(54.70, 74.23, 135.87°)
OKLaboklab(59.2% -0.1452 0.1146)
OKLCHoklch(59.2% 0.185 141.7)
XYZxyz(12.0891, 22.6378, 4.7095)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27971A #8A1A97
analogous
#66971A #27971A #1A974C
triadic
#27971A #1A2797 #971A27
tetradic
#27971A #1A6697 #8A1A97 #974C1A
square
#27971A #1A6697 #8A1A97 #974C1A
split-complementary
#27971A #4C1A97 #971A66
monochromatic
#0C2F08 #1A6311 #27971A #34CB23 #5BE04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27971A#FFFFFF#000000##000000
##27971A1.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)
#8E802A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #27971a;
/* rgb */ color: rgb(39, 151, 26);
/* oklch */ color: oklch(59.2% 0.185 141.7);
Tailwind
colors: {
  custom: {
    50: '#74b763',
    500: '#27971a',
    950: '#000000',
  },
}
SCSS
$custom: #27971a;
$custom-light: #74b763;
$custom-dark: #000000;
JSON
{
  "hex": "#27971a",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 113.76,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.185,
    "h": 141.7
  },
  "luminance": 0.22639
}

Semantic roles & 50–950 ramp

primary
#27971A
secondary
#B64BC2
accent
#3AEDDB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #27971A

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

Preview Lab → · Contrast checker → · Palette generator →

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