#27811F#27811F

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

Color values

HEX#27811F
RGBrgb(39, 129, 31)
HSLhsl(115, 61%, 31%)
HSVhsv(115, 76%, 51%)
CMYKcmyk(69.8%, 0%, 76%, 49.4%)
CIE-LABlab(47.27, -45.40, 42.84)
CIE-LCHlch(47.27, 62.42, 136.66°)
OKLaboklab(53.05% -0.1237 0.0968)
OKLCHoklch(53.05% 0.157 141.9)
XYZxyz(8.9338, 16.2298, 3.9579)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27811F #791F81
analogous
#58811F #27811F #1F8148
triadic
#27811F #1F2781 #811F27
tetradic
#27811F #1F5881 #791F81 #81481F
square
#27811F #1F5881 #791F81 #81481F
split-complementary
#27811F #481F81 #811F58
monochromatic
#091E07 #185013 #27811F #36B22B #53D347

Accessibility & contrast

On white

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

On black

4.25
#27811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##27811F#FFFFFF#000000##FFFFFF
##27811F1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#127D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #27811f;
/* rgb */ color: rgb(39, 129, 31);
/* oklch */ color: oklch(53.1% 0.157 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fa662',
    500: '#27811f',
    950: '#000000',
  },
}
SCSS
$custom: #27811f;
$custom-light: #6fa662;
$custom-dark: #000000;
JSON
{
  "hex": "#27811f",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 115.102,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53053,
    "c": 0.1571,
    "h": 141.9
  },
  "luminance": 0.16231
}

Semantic roles & 50–950 ramp

primary
#27811F
secondary
#AB48B4
accent
#43E4D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #27811F

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

Preview Lab → · Contrast checker → · Palette generator →

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