#27831C#27831C

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

Color values

HEX#27831C
RGBrgb(39, 131, 28)
HSLhsl(114, 65%, 31%)
HSVhsv(114, 79%, 51%)
CMYKcmyk(70.2%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.94, -46.34, 44.61)
CIE-LCHlch(47.94, 64.32, 136.09°)
OKLaboklab(53.6% -0.1264 0.1001)
OKLCHoklch(53.6% 0.161 141.6)
XYZxyz(9.1621, 16.7468, 3.8480)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27831C #781C83
analogous
#5A831C #27831C #1C8344
triadic
#27831C #1C2783 #831C27
tetradic
#27831C #1C5A83 #781C83 #83441C
square
#27831C #1C5A83 #781C83 #83441C
split-complementary
#27831C #441C83 #831C5A
monochromatic
#091E06 #185111 #27831C #36B527 #52D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #27831c;
/* rgb */ color: rgb(39, 131, 28);
/* oklch */ color: oklch(53.6% 0.161 141.6);
Tailwind
colors: {
  custom: {
    50: '#70a860',
    500: '#27831c',
    950: '#000000',
  },
}
SCSS
$custom: #27831c;
$custom-light: #70a860;
$custom-dark: #000000;
JSON
{
  "hex": "#27831c",
  "rgb": {
    "r": 39,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 113.592,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53598,
    "c": 0.16125,
    "h": 141.6
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#27831C
secondary
#AA45B6
accent
#40E8D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #27831C

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

Preview Lab → · Contrast checker → · Palette generator →

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