#27791B#27791B

#27791B is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.150 H 141.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#27791B
RGBrgb(39, 121, 27)
HSLhsl(112, 64%, 29%)
HSVhsv(112, 78%, 47%)
CMYKcmyk(67.8%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.50, -42.82, 41.57)
CIE-LCHlch(44.50, 59.68, 135.84°)
OKLaboklab(50.74% -0.1169 0.0936)
OKLCHoklch(50.74% 0.15 141.3)
XYZxyz(7.8715, 14.1844, 3.3597)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27791B #6D1B79
analogous
#56791B #27791B #1B793E
triadic
#27791B #1B2779 #791B27
tetradic
#27791B #1B5679 #6D1B79 #793E1B
square
#27791B #1B5679 #6D1B79 #793E1B
split-complementary
#27791B #3E1B79 #791B56
monochromatic
#081906 #174710 #27791B #37AB26 #4FD33B

Accessibility & contrast

On white

5.47
#27791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#27791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27791B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27791B#FFFFFF#000000##FFFFFF
##27791B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D07
Deuteranopia (green-blind)
#726725
Tritanopia (blue-blind)
#177567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #27791b;
/* rgb */ color: rgb(39, 121, 27);
/* oklch */ color: oklch(50.7% 0.150 141.3);
Tailwind
colors: {
  custom: {
    50: '#6da15e',
    500: '#27791b',
    950: '#000000',
  },
}
SCSS
$custom: #27791b;
$custom-light: #6da15e;
$custom-dark: #000000;
JSON
{
  "hex": "#27791b",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 112.34,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.1498,
    "h": 141.3
  },
  "luminance": 0.14185
}

Semantic roles & 50–950 ramp

primary
#27791B
secondary
#A043AD
accent
#41E7D1
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #27791B

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

Preview Lab → · Contrast checker → · Palette generator →

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