#27821C#27821C

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

Color values

HEX#27821C
RGBrgb(39, 130, 28)
HSLhsl(114, 65%, 31%)
HSVhsv(114, 78%, 51%)
CMYKcmyk(70%, 0%, 78.5%, 49%)
CIE-LABlab(47.60, -45.99, 44.27)
CIE-LCHlch(47.60, 63.84, 136.09°)
OKLaboklab(53.31% -0.1255 0.0994)
OKLCHoklch(53.31% 0.16 141.6)
XYZxyz(9.0284, 16.4795, 3.8034)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27821C #771C82
analogous
#5A821C #27821C #1C8244
triadic
#27821C #1C2782 #821C27
tetradic
#27821C #1C5A82 #771C82 #82441C
square
#27821C #1C5A82 #771C82 #82441C
split-complementary
#27821C #441C82 #821C5A
monochromatic
#091D06 #185011 #27821C #36B427 #52D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27821C#FFFFFF#000000##FFFFFF
##27821C1.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)
#857505
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#127E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #27821c;
/* rgb */ color: rgb(39, 130, 28);
/* oklch */ color: oklch(53.3% 0.160 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fa760',
    500: '#27821c',
    950: '#000000',
  },
}
SCSS
$custom: #27821c;
$custom-light: #6fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#27821c",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 113.529,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.16006,
    "h": 141.6
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#27821C
secondary
#A944B5
accent
#40E8D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #27821C

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

Preview Lab → · Contrast checker → · Palette generator →

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