#27781F#27781F

#27781F is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.146 H 141.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#27781F
RGBrgb(39, 120, 31)
HSLhsl(115, 59%, 30%)
HSVhsv(115, 74%, 47%)
CMYKcmyk(67.5%, 0%, 74.2%, 52.9%)
CIE-LABlab(44.18, -42.11, 39.68)
CIE-LCHlch(44.18, 57.86, 136.70°)
OKLaboklab(50.49% -0.1148 0.0902)
OKLCHoklch(50.49% 0.146 141.8)
XYZxyz(7.8001, 13.9624, 3.5800)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27781F #701F78
analogous
#54781F #27781F #1F7844
triadic
#27781F #1F2778 #781F27
tetradic
#27781F #1F5478 #701F78 #78441F
square
#27781F #1F5478 #701F78 #78441F
split-complementary
#27781F #441F78 #781F54
monochromatic
#081806 #174712 #27781F #37A92C #50CE43

Accessibility & contrast

On white

5.54
#27781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#27781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27781F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27781F#FFFFFF#000000##FFFFFF
##27781F1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#177466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #27781f;
/* rgb */ color: rgb(39, 120, 31);
/* oklch */ color: oklch(50.5% 0.146 141.8);
Tailwind
colors: {
  custom: {
    50: '#6da060',
    500: '#27781f',
    950: '#000000',
  },
}
SCSS
$custom: #27781f;
$custom-light: #6da060;
$custom-dark: #000000;
JSON
{
  "hex": "#27781f",
  "rgb": {
    "r": 39,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 114.607,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50488,
    "c": 0.14602,
    "h": 141.8
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#27781F
secondary
#A247AB
accent
#46E2D4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #27781F

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

Preview Lab → · Contrast checker → · Palette generator →

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