#27821F#27821F

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

Color values

HEX#27821F
RGBrgb(39, 130, 31)
HSLhsl(115, 61%, 32%)
HSVhsv(115, 76%, 51%)
CMYKcmyk(70%, 0%, 76.2%, 49%)
CIE-LABlab(47.62, -45.76, 43.19)
CIE-LCHlch(47.62, 62.92, 136.66°)
OKLaboklab(53.34% -0.1247 0.0976)
OKLCHoklch(53.34% 0.158 142)
XYZxyz(9.0661, 16.4946, 4.0020)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27821F #7A1F82
analogous
#59821F #27821F #1F8249
triadic
#27821F #1F2782 #821F27
tetradic
#27821F #1F5982 #7A1F82 #82491F
square
#27821F #1F5982 #7A1F82 #82491F
split-complementary
#27821F #491F82 #821F59
monochromatic
#091F07 #185113 #27821F #36B32B #53D348

Accessibility & contrast

On white

4.88
#27821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #27821F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27821F#FFFFFF#000000##FFFFFF
##27821F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#127E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #27821f;
/* rgb */ color: rgb(39, 130, 31);
/* oklch */ color: oklch(53.3% 0.158 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fa762',
    500: '#27821f',
    950: '#000000',
  },
}
SCSS
$custom: #27821f;
$custom-light: #6fa762;
$custom-dark: #000000;
JSON
{
  "hex": "#27821f",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 115.152,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.15831,
    "h": 142
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27821F

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

Preview Lab → · Contrast checker → · Palette generator →

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