#27811B#27811B

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

Color values

HEX#27811B
RGBrgb(39, 129, 27)
HSLhsl(113, 65%, 31%)
HSVhsv(113, 79%, 51%)
CMYKcmyk(69.8%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.25, -45.71, 44.29)
CIE-LCHlch(47.25, 63.64, 135.91°)
OKLaboklab(53.02% -0.1247 0.0993)
OKLCHoklch(53.02% 0.159 141.5)
XYZxyz(8.8843, 16.2101, 3.6973)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27811B #751B81
analogous
#5A811B #27811B #1B8142
triadic
#27811B #1B2781 #811B27
tetradic
#27811B #1B5A81 #751B81 #81421B
square
#27811B #1B5A81 #751B81 #81421B
split-complementary
#27811B #421B81 #811B5A
monochromatic
#081C06 #184E10 #27811B #36B426 #51D73F

Accessibility & contrast

On white

4.95
#27811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#27811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27811B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27811B#FFFFFF#000000##FFFFFF
##27811B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847403
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#137D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #27811b;
/* rgb */ color: rgb(39, 129, 27);
/* oklch */ color: oklch(53.0% 0.159 141.5);
Tailwind
colors: {
  custom: {
    50: '#6fa660',
    500: '#27811b',
    950: '#000000',
  },
}
SCSS
$custom: #27811b;
$custom-light: #6fa660;
$custom-dark: #000000;
JSON
{
  "hex": "#27811b",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 112.941,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.15943,
    "h": 141.5
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#27811B
secondary
#A743B5
accent
#3FE8D4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #27811B

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

Preview Lab → · Contrast checker → · Palette generator →

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