#27841C#27841C

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

Color values

HEX#27841C
RGBrgb(39, 132, 28)
HSLhsl(114, 65%, 31%)
HSVhsv(114, 79%, 52%)
CMYKcmyk(70.5%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.28, -46.70, 44.94)
CIE-LCHlch(48.28, 64.81, 136.10°)
OKLaboklab(53.88% -0.1274 0.1008)
OKLCHoklch(53.88% 0.162 141.6)
XYZxyz(9.2971, 17.0167, 3.8930)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27841C #791C84
analogous
#5B841C #27841C #1C8445
triadic
#27841C #1C2784 #841C27
tetradic
#27841C #1C5B84 #791C84 #84451C
square
#27841C #1C5B84 #791C84 #84451C
split-complementary
#27841C #451C84 #841C5B
monochromatic
#091F07 #185211 #27841C #36B627 #53D743

Accessibility & contrast

On white

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

On black

4.40
#27841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##27841C#FFFFFF#000000##FFFFFF
##27841C1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#118070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #27841c;
/* rgb */ color: rgb(39, 132, 28);
/* oklch */ color: oklch(53.9% 0.162 141.6);
Tailwind
colors: {
  custom: {
    50: '#70a961',
    500: '#27841c',
    950: '#000000',
  },
}
SCSS
$custom: #27841c;
$custom-light: #70a961;
$custom-dark: #000000;
JSON
{
  "hex": "#27841c",
  "rgb": {
    "r": 39,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 113.654,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53881,
    "c": 0.16242,
    "h": 141.6
  },
  "luminance": 0.17018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27841C

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

Preview Lab → · Contrast checker → · Palette generator →

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