#27831F#27831F

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

Color values

HEX#27831F
RGBrgb(39, 131, 31)
HSLhsl(115, 62%, 32%)
HSVhsv(115, 76%, 51%)
CMYKcmyk(70.2%, 0%, 76.3%, 48.6%)
CIE-LABlab(47.96, -46.11, 43.53)
CIE-LCHlch(47.96, 63.41, 136.65°)
OKLaboklab(53.62% -0.1256 0.0983)
OKLCHoklch(53.62% 0.16 142)
XYZxyz(9.1998, 16.7619, 4.0466)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27831F #7B1F83
analogous
#59831F #27831F #1F8349
triadic
#27831F #1F2783 #831F27
tetradic
#27831F #1F5983 #7B1F83 #83491F
square
#27831F #1F5983 #7B1F83 #83491F
split-complementary
#27831F #491F83 #831F59
monochromatic
#0A2008 #185213 #27831F #36B42B #54D449

Accessibility & contrast

On white

4.82
#27831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #27831F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27831F#FFFFFF#000000##FFFFFF
##27831F1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#117F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #27831f;
/* rgb */ color: rgb(39, 131, 31);
/* oklch */ color: oklch(53.6% 0.160 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fa862',
    500: '#27831f',
    950: '#000000',
  },
}
SCSS
$custom: #27831f;
$custom-light: #6fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#27831f",
  "rgb": {
    "r": 39,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 115.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.1595,
    "h": 142
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#27831F
secondary
#AD48B6
accent
#43E5D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #27831F

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

Preview Lab → · Contrast checker → · Palette generator →

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