#27781A#27781A

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

Color values

HEX#27781A
RGBrgb(39, 120, 26)
HSLhsl(112, 64%, 29%)
HSVhsv(112, 78%, 47%)
CMYKcmyk(67.5%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.14, -42.53, 41.60)
CIE-LCHlch(44.14, 59.49, 135.63°)
OKLaboklab(50.45% -0.1162 0.0935)
OKLCHoklch(50.45% 0.149 141.2)
XYZxyz(7.7392, 13.9381, 3.2595)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27781A #6B1A78
analogous
#56781A #27781A #1A783C
triadic
#27781A #1A2778 #781A27
tetradic
#27781A #1A5678 #6B1A78 #783C1A
square
#27781A #1A5678 #6B1A78 #783C1A
split-complementary
#27781A #3C1A78 #781A56
monochromatic
#081905 #17460F #27781A #37AA25 #4ED438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27781A#FFFFFF#000000##FFFFFF
##27781A1.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)
#7B6C06
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#187466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #27781a;
/* rgb */ color: rgb(39, 120, 26);
/* oklch */ color: oklch(50.4% 0.149 141.2);
Tailwind
colors: {
  custom: {
    50: '#6da05e',
    500: '#27781a',
    950: '#000000',
  },
}
SCSS
$custom: #27781a;
$custom-light: #6da05e;
$custom-dark: #000000;
JSON
{
  "hex": "#27781a",
  "rgb": {
    "r": 39,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 111.702,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.14917,
    "h": 141.2
  },
  "luminance": 0.13939
}

Semantic roles & 50–950 ramp

primary
#27781A
secondary
#9E41AC
accent
#40E7D0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #27781A

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

Preview Lab → · Contrast checker → · Palette generator →

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