#27731D#27731D

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

Color values

HEX#27731D
RGBrgb(39, 115, 29)
HSLhsl(113, 60%, 28%)
HSVhsv(113, 75%, 45%)
CMYKcmyk(66.1%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.43, -40.41, 38.70)
CIE-LCHlch(42.43, 55.95, 136.24°)
OKLaboklab(49.04% -0.1103 0.0879)
OKLCHoklch(49.04% 0.141 141.4)
XYZxyz(7.1888, 12.7808, 3.2503)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27731D #691D73
analogous
#52731D #27731D #1D733E
triadic
#27731D #1D2773 #731D27
tetradic
#27731D #1D5273 #691D73 #733E1D
square
#27731D #1D5273 #691D73 #733E1D
split-complementary
#27731D #3E1D73 #731D52
monochromatic
#081806 #164211 #27731D #38A429 #4DCE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #27731d;
/* rgb */ color: rgb(39, 115, 29);
/* oklch */ color: oklch(49.0% 0.141 141.4);
Tailwind
colors: {
  custom: {
    50: '#6c9c5f',
    500: '#27731d',
    950: '#000000',
  },
}
SCSS
$custom: #27731d;
$custom-light: #6c9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#27731d",
  "rgb": {
    "r": 39,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 113.023,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.14105,
    "h": 141.4
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#27731D
secondary
#9C45A7
accent
#45E3D1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #27731D

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

Preview Lab → · Contrast checker → · Palette generator →

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