#27831A#27831A

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

Color values

HEX#27831A
RGBrgb(39, 131, 26)
HSLhsl(113, 67%, 31%)
HSVhsv(113, 80%, 51%)
CMYKcmyk(70.2%, 0%, 80.2%, 48.6%)
CIE-LABlab(47.93, -46.49, 45.29)
CIE-LCHlch(47.93, 64.90, 135.75°)
OKLaboklab(53.58% -0.1269 0.1012)
OKLCHoklch(53.58% 0.162 141.4)
XYZxyz(9.1390, 16.7376, 3.7261)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27831A #761A83
analogous
#5B831A #27831A #1A8341
triadic
#27831A #1A2783 #831A27
tetradic
#27831A #1A5B83 #761A83 #83411A
square
#27831A #1A5B83 #761A83 #83411A
split-complementary
#27831A #411A83 #831A5B
monochromatic
#091D06 #185010 #27831A #36B624 #52D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27831A#FFFFFF#000000##FFFFFF
##27831A1.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)
#867600
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#127F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #27831a;
/* rgb */ color: rgb(39, 131, 26);
/* oklch */ color: oklch(53.6% 0.162 141.4);
Tailwind
colors: {
  custom: {
    50: '#70a85f',
    500: '#27831a',
    950: '#000000',
  },
}
SCSS
$custom: #27831a;
$custom-light: #70a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#27831a",
  "rgb": {
    "r": 39,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 112.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.16232,
    "h": 141.4
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

primary
#27831A
secondary
#A842B7
accent
#3EEAD5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #27831A

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

Preview Lab → · Contrast checker → · Palette generator →

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