#27821E#27821E

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

Color values

HEX#27821E
RGBrgb(39, 130, 30)
HSLhsl(115, 63%, 31%)
HSVhsv(115, 77%, 51%)
CMYKcmyk(70%, 0%, 76.9%, 49%)
CIE-LABlab(47.61, -45.84, 43.56)
CIE-LCHlch(47.61, 63.23, 136.46°)
OKLaboklab(53.33% -0.1249 0.0982)
OKLCHoklch(53.33% 0.159 141.8)
XYZxyz(9.0532, 16.4894, 3.9337)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27821E #791E82
analogous
#59821E #27821E #1E8247
triadic
#27821E #1E2782 #821E27
tetradic
#27821E #1E5982 #791E82 #82471E
square
#27821E #1E5982 #791E82 #82471E
split-complementary
#27821E #471E82 #821E59
monochromatic
#091F07 #185013 #27821E #36B429 #53D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27821E#FFFFFF#000000##FFFFFF
##27821E1.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)
#857509
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#127E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #27821e;
/* rgb */ color: rgb(39, 130, 30);
/* oklch */ color: oklch(53.3% 0.159 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fa761',
    500: '#27821e',
    950: '#000000',
  },
}
SCSS
$custom: #27821e;
$custom-light: #6fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#27821e",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 114.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.1589,
    "h": 141.8
  },
  "luminance": 0.1649
}

Semantic roles & 50–950 ramp

primary
#27821E
secondary
#AB47B5
accent
#42E6D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #27821E

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

Preview Lab → · Contrast checker → · Palette generator →

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