#27731A#27731A

#27731A is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.143 H 141.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#27731A
RGBrgb(39, 115, 26)
HSLhsl(111, 63%, 28%)
HSVhsv(111, 77%, 45%)
CMYKcmyk(66.1%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.41, -40.66, 39.87)
CIE-LCHlch(42.41, 56.95, 135.56°)
OKLaboklab(49.01% -0.1112 0.0899)
OKLCHoklch(49.01% 0.143 141)
XYZxyz(7.1535, 12.7667, 3.0643)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27731A #661A73
analogous
#53731A #27731A #1A7339
triadic
#27731A #1A2773 #731A27
tetradic
#27731A #1A5373 #661A73 #73391A
square
#27731A #1A5373 #661A73 #73391A
split-complementary
#27731A #391A73 #731A53
monochromatic
#081906 #16410F #27731A #38A525 #4DD236

Accessibility & contrast

On white

5.91
#27731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#27731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27731A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27731A#FFFFFF#000000##FFFFFF
##27731A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766808
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#1A6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #27731a;
/* rgb */ color: rgb(39, 115, 26);
/* oklch */ color: oklch(49.0% 0.143 141.0);
Tailwind
colors: {
  custom: {
    50: '#6c9c5d',
    500: '#27731a',
    950: '#000000',
  },
}
SCSS
$custom: #27731a;
$custom-light: #6c9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#27731a",
  "rgb": {
    "r": 39,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 111.236,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.14299,
    "h": 141
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#27731A
secondary
#9941A8
accent
#42E6CE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #27731A

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

Preview Lab → · Contrast checker → · Palette generator →

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