#27841B#27841B

#27841B is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.163 H 141.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#27841B
RGBrgb(39, 132, 27)
HSLhsl(113, 66%, 31%)
HSVhsv(113, 80%, 52%)
CMYKcmyk(70.5%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.28, -46.77, 45.28)
CIE-LCHlch(48.28, 65.10, 135.92°)
OKLaboklab(53.87% -0.1276 0.1014)
OKLCHoklch(53.87% 0.163 141.5)
XYZxyz(9.2853, 17.0120, 3.8310)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27841B #781B84
analogous
#5B841B #27841B #1B8443
triadic
#27841B #1B2784 #841B27
tetradic
#27841B #1B5B84 #781B84 #84431B
square
#27841B #1B5B84 #781B84 #84431B
split-complementary
#27841B #431B84 #841B5B
monochromatic
#091E06 #185111 #27841B #36B725 #52D841

Accessibility & contrast

On white

4.77
#27841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#27841B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27841B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27841B#FFFFFF#000000##FFFFFF
##27841B1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#118070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #27841b;
/* rgb */ color: rgb(39, 132, 27);
/* oklch */ color: oklch(53.9% 0.163 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a960',
    500: '#27841b',
    950: '#000000',
  },
}
SCSS
$custom: #27841b;
$custom-light: #70a960;
$custom-dark: #000000;
JSON
{
  "hex": "#27841b",
  "rgb": {
    "r": 39,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 113.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.16296,
    "h": 141.5
  },
  "luminance": 0.17013
}

Semantic roles & 50–950 ramp

primary
#27841B
secondary
#AA43B7
accent
#3FE9D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #27841B

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

Preview Lab → · Contrast checker → · Palette generator →

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