#27791C#27791C

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

Color values

HEX#27791C
RGBrgb(39, 121, 28)
HSLhsl(113, 62%, 29%)
HSVhsv(113, 77%, 47%)
CMYKcmyk(67.8%, 0%, 76.9%, 52.5%)
CIE-LABlab(44.50, -42.74, 41.20)
CIE-LCHlch(44.50, 59.36, 136.05°)
OKLaboklab(50.75% -0.1167 0.093)
OKLCHoklch(50.75% 0.149 141.4)
XYZxyz(7.8833, 14.1891, 3.4217)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27791C #6E1C79
analogous
#56791C #27791C #1C7940
triadic
#27791C #1C2779 #791C27
tetradic
#27791C #1C5679 #6E1C79 #79401C
square
#27791C #1C5679 #6E1C79 #79401C
split-complementary
#27791C #401C79 #791C56
monochromatic
#081906 #174710 #27791C #37AB28 #4FD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27791C#FFFFFF#000000##FFFFFF
##27791C1.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)
#7C6D0A
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#177567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #27791c;
/* rgb */ color: rgb(39, 121, 28);
/* oklch */ color: oklch(50.7% 0.149 141.4);
Tailwind
colors: {
  custom: {
    50: '#6da15f',
    500: '#27791c',
    950: '#000000',
  },
}
SCSS
$custom: #27791c;
$custom-light: #6da15f;
$custom-dark: #000000;
JSON
{
  "hex": "#27791c",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 112.903,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5075,
    "c": 0.14919,
    "h": 141.4
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#27791C
secondary
#A144AD
accent
#42E5D2
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #27791C

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

Preview Lab → · Contrast checker → · Palette generator →

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