#27731B#27731B

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

Color values

HEX#27731B
RGBrgb(39, 115, 27)
HSLhsl(112, 62%, 28%)
HSVhsv(112, 77%, 45%)
CMYKcmyk(66.1%, 0%, 76.5%, 54.9%)
CIE-LABlab(42.42, -40.58, 39.49)
CIE-LCHlch(42.42, 56.62, 135.78°)
OKLaboklab(49.02% -0.1109 0.0893)
OKLCHoklch(49.02% 0.142 141.2)
XYZxyz(7.1649, 12.7712, 3.1242)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27731B #671B73
analogous
#53731B #27731B #1B733B
triadic
#27731B #1B2773 #731B27
tetradic
#27731B #1B5373 #671B73 #733B1B
square
#27731B #1B5373 #671B73 #733B1B
split-complementary
#27731B #3B1B73 #731B53
monochromatic
#081906 #16410F #27731B #38A527 #4DD038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27731B#FFFFFF#000000##FFFFFF
##27731B1.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)
#76680B
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#1A6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #27731b;
/* rgb */ color: rgb(39, 115, 27);
/* oklch */ color: oklch(49.0% 0.142 141.2);
Tailwind
colors: {
  custom: {
    50: '#6c9c5e',
    500: '#27731b',
    950: '#000000',
  },
}
SCSS
$custom: #27731b;
$custom-light: #6c9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#27731b",
  "rgb": {
    "r": 39,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 111.818,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4902,
    "c": 0.14237,
    "h": 141.2
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#27731B
secondary
#9A42A8
accent
#43E5CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #27731B

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

Preview Lab → · Contrast checker → · Palette generator →

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