#27791F#27791F

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

Color values

HEX#27791F
RGBrgb(39, 121, 31)
HSLhsl(115, 59%, 30%)
HSVhsv(115, 74%, 47%)
CMYKcmyk(67.8%, 0%, 74.4%, 52.5%)
CIE-LABlab(44.52, -42.48, 40.04)
CIE-LCHlch(44.52, 58.38, 136.69°)
OKLaboklab(50.77% -0.1158 0.091)
OKLCHoklch(50.77% 0.147 141.8)
XYZxyz(7.9210, 14.2042, 3.6203)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27791F #711F79
analogous
#54791F #27791F #1F7944
triadic
#27791F #1F2779 #791F27
tetradic
#27791F #1F5479 #711F79 #79441F
square
#27791F #1F5479 #711F79 #79441F
split-complementary
#27791F #441F79 #791F54
monochromatic
#081806 #174813 #27791F #37AA2B #50CF43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27791F#FFFFFF#000000##FFFFFF
##27791F1.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)
#7C6D10
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#177567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #27791f;
/* rgb */ color: rgb(39, 121, 31);
/* oklch */ color: oklch(50.8% 0.147 141.8);
Tailwind
colors: {
  custom: {
    50: '#6da161',
    500: '#27791f',
    950: '#000000',
  },
}
SCSS
$custom: #27791f;
$custom-light: #6da161;
$custom-dark: #000000;
JSON
{
  "hex": "#27791f",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 114.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.14727,
    "h": 141.8
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#27791F
secondary
#A347AC
accent
#45E2D4
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #27791F

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

Preview Lab → · Contrast checker → · Palette generator →

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