#27581B#27581B

#27581B is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.106 H 139.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#27581B
RGBrgb(39, 88, 27)
HSLhsl(108, 53%, 23%)
HSVhsv(108, 69%, 35%)
CMYKcmyk(55.7%, 0%, 69.3%, 65.5%)
CIE-LABlab(32.90, -29.56, 29.47)
CIE-LCHlch(32.90, 41.74, 135.08°)
OKLaboklab(41.16% -0.0811 0.0682)
OKLCHoklch(41.16% 0.106 139.9)
XYZxyz(4.5241, 7.4896, 2.2439)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27581B #4C1B58
analogous
#45581B #27581B #1B582E
triadic
#27581B #1B2758 #581B27
tetradic
#27581B #1B4558 #4C1B58 #582E1B
square
#27581B #1B4558 #4C1B58 #582E1B
split-complementary
#27581B #2E1B58 #581B45
monochromatic
#0A1707 #12290D #27581B #3C8729 #51B638

Accessibility & contrast

On white

8.41
#27581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#27581B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27581B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27581B#FFFFFF#000000##FFFFFF
##27581B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5014
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#22554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #27581b;
/* rgb */ color: rgb(39, 88, 27);
/* oklch */ color: oklch(41.2% 0.106 139.9);
Tailwind
colors: {
  custom: {
    50: '#67885a',
    500: '#27581b',
    950: '#000000',
  },
}
SCSS
$custom: #27581b;
$custom-light: #67885a;
$custom-dark: #000000;
JSON
{
  "hex": "#27581b",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 108.197,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.10596,
    "h": 139.9
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#27581B
secondary
#7F418E
accent
#4BDCC0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #27581B

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

Preview Lab → · Contrast checker → · Palette generator →

#27581B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva