#27831D#27831D

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

Color values

HEX#27831D
RGBrgb(39, 131, 29)
HSLhsl(114, 64%, 31%)
HSVhsv(114, 78%, 51%)
CMYKcmyk(70.2%, 0%, 77.9%, 48.6%)
CIE-LABlab(47.95, -46.27, 44.26)
CIE-LCHlch(47.95, 64.03, 136.27°)
OKLaboklab(53.61% -0.1262 0.0995)
OKLCHoklch(53.61% 0.161 141.7)
XYZxyz(9.1743, 16.7517, 3.9121)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27831D #791D83
analogous
#5A831D #27831D #1D8346
triadic
#27831D #1D2783 #831D27
tetradic
#27831D #1D5A83 #791D83 #83461D
square
#27831D #1D5A83 #791D83 #83461D
split-complementary
#27831D #461D83 #831D5A
monochromatic
#091F07 #185112 #27831D #36B528 #53D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27831D#FFFFFF#000000##FFFFFF
##27831D1.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)
#867606
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#127F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #27831d;
/* rgb */ color: rgb(39, 131, 29);
/* oklch */ color: oklch(53.6% 0.161 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a861',
    500: '#27831d',
    950: '#000000',
  },
}
SCSS
$custom: #27831d;
$custom-light: #70a861;
$custom-dark: #000000;
JSON
{
  "hex": "#27831d",
  "rgb": {
    "r": 39,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 114.118,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.16068,
    "h": 141.7
  },
  "luminance": 0.16753
}

Semantic roles & 50–950 ramp

primary
#27831D
secondary
#AB46B6
accent
#41E7D7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #27831D

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

Preview Lab → · Contrast checker → · Palette generator →

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