#27831B#27831B

#27831B is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.162 H 141.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#27831B
RGBrgb(39, 131, 27)
HSLhsl(113, 66%, 31%)
HSVhsv(113, 79%, 51%)
CMYKcmyk(70.2%, 0%, 79.4%, 48.6%)
CIE-LABlab(47.93, -46.42, 44.95)
CIE-LCHlch(47.93, 64.62, 135.92°)
OKLaboklab(53.59% -0.1267 0.1007)
OKLCHoklch(53.59% 0.162 141.5)
XYZxyz(9.1503, 16.7421, 3.7860)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27831B #771B83
analogous
#5B831B #27831B #1B8343
triadic
#27831B #1B2783 #831B27
tetradic
#27831B #1B5B83 #771B83 #83431B
square
#27831B #1B5B83 #771B83 #83431B
split-complementary
#27831B #431B83 #831B5B
monochromatic
#091E06 #185011 #27831B #36B625 #52D841

Accessibility & contrast

On white

4.83
#27831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#27831B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27831B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27831B#FFFFFF#000000##FFFFFF
##27831B1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#127F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #27831b;
/* rgb */ color: rgb(39, 131, 27);
/* oklch */ color: oklch(53.6% 0.162 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a860',
    500: '#27831b',
    950: '#000000',
  },
}
SCSS
$custom: #27831b;
$custom-light: #70a860;
$custom-dark: #000000;
JSON
{
  "hex": "#27831b",
  "rgb": {
    "r": 39,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 113.077,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.16179,
    "h": 141.5
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#27831B
secondary
#A943B6
accent
#3FE9D5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #27831B

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

Preview Lab → · Contrast checker → · Palette generator →

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