#27781B#27781B

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

Color values

HEX#27781B
RGBrgb(39, 120, 27)
HSLhsl(112, 63%, 29%)
HSVhsv(112, 78%, 47%)
CMYKcmyk(67.5%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.15, -42.45, 41.23)
CIE-LCHlch(44.15, 59.18, 135.83°)
OKLaboklab(50.46% -0.1159 0.0929)
OKLCHoklch(50.46% 0.149 141.3)
XYZxyz(7.7506, 13.9426, 3.3194)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27781B #6C1B78
analogous
#56781B #27781B #1B783E
triadic
#27781B #1B2778 #781B27
tetradic
#27781B #1B5678 #6C1B78 #783E1B
square
#27781B #1B5678 #6C1B78 #783E1B
split-complementary
#27781B #3E1B78 #781B56
monochromatic
#081906 #174610 #27781B #37AA26 #4ED33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27781B#FFFFFF#000000##FFFFFF
##27781B1.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)
#7B6C08
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#187466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #27781b;
/* rgb */ color: rgb(39, 120, 27);
/* oklch */ color: oklch(50.5% 0.149 141.3);
Tailwind
colors: {
  custom: {
    50: '#6da05e',
    500: '#27781b',
    950: '#000000',
  },
}
SCSS
$custom: #27781b;
$custom-light: #6da05e;
$custom-dark: #000000;
JSON
{
  "hex": "#27781b",
  "rgb": {
    "r": 39,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 112.258,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.14858,
    "h": 141.3
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#27781B
secondary
#9F43AC
accent
#41E6D1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #27781B

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

Preview Lab → · Contrast checker → · Palette generator →

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