#27821A#27821A

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

Color values

HEX#27821A
RGBrgb(39, 130, 26)
HSLhsl(113, 67%, 31%)
HSVhsv(113, 80%, 51%)
CMYKcmyk(70%, 0%, 80%, 49%)
CIE-LABlab(47.59, -46.13, 44.96)
CIE-LCHlch(47.59, 64.42, 135.74°)
OKLaboklab(53.3% -0.1259 0.1005)
OKLCHoklch(53.3% 0.161 141.4)
XYZxyz(9.0053, 16.4702, 3.6816)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27821A #751A82
analogous
#5B821A #27821A #1A8241
triadic
#27821A #1A2782 #821A27
tetradic
#27821A #1A5B82 #751A82 #82411A
square
#27821A #1A5B82 #751A82 #82411A
split-complementary
#27821A #411A82 #821A5B
monochromatic
#081C06 #184F10 #27821A #36B524 #51D83E

Accessibility & contrast

On white

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

On black

4.29
#27821A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##27821A#FFFFFF#000000##FFFFFF
##27821A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27821a;
/* rgb */ color: rgb(39, 130, 26);
/* oklch */ color: oklch(53.3% 0.161 141.4);
Tailwind
colors: {
  custom: {
    50: '#6fa75f',
    500: '#27821a',
    950: '#000000',
  },
}
SCSS
$custom: #27821a;
$custom-light: #6fa75f;
$custom-dark: #000000;
JSON
{
  "hex": "#27821a",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 112.5,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.533,
    "c": 0.16115,
    "h": 141.4
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#27821A
secondary
#A742B6
accent
#3EEAD4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #27821A

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

Preview Lab → · Contrast checker → · Palette generator →

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