#27821B#27821B

#27821B is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.161 H 141.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#27821B
RGBrgb(39, 130, 27)
HSLhsl(113, 66%, 31%)
HSVhsv(113, 79%, 51%)
CMYKcmyk(70%, 0%, 79.2%, 49%)
CIE-LABlab(47.59, -46.06, 44.62)
CIE-LCHlch(47.59, 64.13, 135.91°)
OKLaboklab(53.31% -0.1257 0.1)
OKLCHoklch(53.31% 0.161 141.5)
XYZxyz(9.0167, 16.4748, 3.7415)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27821B #761B82
analogous
#5A821B #27821B #1B8242
triadic
#27821B #1B2782 #821B27
tetradic
#27821B #1B5A82 #761B82 #82421B
square
#27821B #1B5A82 #761B82 #82421B
split-complementary
#27821B #421B82 #821B5A
monochromatic
#091D06 #184F10 #27821B #36B526 #52D740

Accessibility & contrast

On white

4.89
#27821B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#27821B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27821B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27821B#FFFFFF#000000##FFFFFF
##27821B1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857502
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#137E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #27821b;
/* rgb */ color: rgb(39, 130, 27);
/* oklch */ color: oklch(53.3% 0.161 141.5);
Tailwind
colors: {
  custom: {
    50: '#6fa760',
    500: '#27821b',
    950: '#000000',
  },
}
SCSS
$custom: #27821b;
$custom-light: #6fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#27821b",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 113.01,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.16061,
    "h": 141.5
  },
  "luminance": 0.16476
}

Semantic roles & 50–950 ramp

primary
#27821B
secondary
#A843B6
accent
#3FE9D5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #27821B

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

Preview Lab → · Contrast checker → · Palette generator →

#27821B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva