#27891F#27891F

#27891F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.167 H 142.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#27891F
RGBrgb(39, 137, 31)
HSLhsl(115, 63%, 33%)
HSVhsv(115, 77%, 54%)
CMYKcmyk(71.5%, 0%, 77.4%, 46.3%)
CIE-LABlab(50.00, -48.22, 45.57)
CIE-LCHlch(50.00, 66.34, 136.62°)
OKLaboklab(55.32% -0.1313 0.1025)
OKLCHoklch(55.32% 0.167 142)
XYZxyz(10.0291, 18.4205, 4.3230)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27891F #811F89
analogous
#5C891F #27891F #1F894C
triadic
#27891F #1F2789 #891F27
tetradic
#27891F #1F5C89 #811F89 #894C1F
square
#27891F #1F5C89 #811F89 #894C1F
split-complementary
#27891F #4C1F89 #891F5C
monochromatic
#0B2508 #195714 #27891F #35BB2A #56D64C

Accessibility & contrast

On white

4.48
#27891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#27891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27891F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27891F#FFFFFF#000000##000000
##27891F1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C08
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#0C8575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #27891f;
/* rgb */ color: rgb(39, 137, 31);
/* oklch */ color: oklch(55.3% 0.167 142.0);
Tailwind
colors: {
  custom: {
    50: '#71ac63',
    500: '#27891f',
    950: '#000000',
  },
}
SCSS
$custom: #27891f;
$custom-light: #71ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#27891f",
  "rgb": {
    "r": 39,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 115.472,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.16661,
    "h": 142
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#27891F
secondary
#B14BB9
accent
#42E6DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #27891F

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

Preview Lab → · Contrast checker → · Palette generator →

#27891F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva