#27731E#27731E

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

Color values

HEX#27731E
RGBrgb(39, 115, 30)
HSLhsl(114, 59%, 28%)
HSVhsv(114, 74%, 45%)
CMYKcmyk(66.1%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.44, -40.32, 38.30)
CIE-LCHlch(42.44, 55.61, 136.47°)
OKLaboklab(49.05% -0.11 0.0872)
OKLCHoklch(49.05% 0.14 141.6)
XYZxyz(7.2014, 12.7858, 3.3164)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27731E #6A1E73
analogous
#51731E #27731E #1E733F
triadic
#27731E #1E2773 #731E27
tetradic
#27731E #1E5173 #6A1E73 #733F1E
square
#27731E #1E5173 #6A1E73 #733F1E
split-complementary
#27731E #3F1E73 #731E51
monochromatic
#081806 #174211 #27731E #37A42B #4ECD3F

Accessibility & contrast

On white

5.90
#27731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#27731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27731E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27731E#FFFFFF#000000##FFFFFF
##27731E1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#196F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #27731e;
/* rgb */ color: rgb(39, 115, 30);
/* oklch */ color: oklch(49.0% 0.140 141.6);
Tailwind
colors: {
  custom: {
    50: '#6c9c5f',
    500: '#27731e',
    950: '#000000',
  },
}
SCSS
$custom: #27731e;
$custom-light: #6c9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#27731e",
  "rgb": {
    "r": 39,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 113.647,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.14038,
    "h": 141.6
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#27731E
secondary
#9D46A7
accent
#46E2D1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #27731E

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

Preview Lab → · Contrast checker → · Palette generator →

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