#27841F#27841F

#27841F is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.161 H 142.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#27841F
RGBrgb(39, 132, 31)
HSLhsl(115, 62%, 32%)
HSVhsv(115, 77%, 52%)
CMYKcmyk(70.5%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.30, -46.47, 43.87)
CIE-LCHlch(48.30, 63.91, 136.65°)
OKLaboklab(53.9% -0.1266 0.099)
OKLCHoklch(53.9% 0.161 142)
XYZxyz(9.3348, 17.0318, 4.0916)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27841F #7C1F84
analogous
#59841F #27841F #1F844A
triadic
#27841F #1F2784 #841F27
tetradic
#27841F #1F5984 #7C1F84 #844A1F
square
#27841F #1F5984 #7C1F84 #844A1F
split-complementary
#27841F #4A1F84 #841F59
monochromatic
#0A2108 #185213 #27841F #36B62B #54D449

Accessibility & contrast

On white

4.77
#27841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#27841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27841F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27841F#FFFFFF#000000##FFFFFF
##27841F1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#108071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #27841f;
/* rgb */ color: rgb(39, 132, 31);
/* oklch */ color: oklch(53.9% 0.161 142.0);
Tailwind
colors: {
  custom: {
    50: '#70a962',
    500: '#27841f',
    950: '#000000',
  },
}
SCSS
$custom: #27841f;
$custom-light: #70a962;
$custom-dark: #000000;
JSON
{
  "hex": "#27841f",
  "rgb": {
    "r": 39,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 115.248,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.1607,
    "h": 142
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27841F

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

Preview Lab → · Contrast checker → · Palette generator →

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