#27751B#27751B

#27751B is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.145 H 141.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#27751B
RGBrgb(39, 117, 27)
HSLhsl(112, 63%, 28%)
HSVhsv(112, 77%, 46%)
CMYKcmyk(66.7%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.11, -41.33, 40.19)
CIE-LCHlch(43.11, 57.65, 135.80°)
OKLaboklab(49.6% -0.1129 0.0907)
OKLCHoklch(49.6% 0.145 141.2)
XYZxyz(7.3954, 13.2323, 3.2011)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27751B #691B75
analogous
#54751B #27751B #1B753C
triadic
#27751B #1B2775 #751B27
tetradic
#27751B #1B5475 #691B75 #753C1B
square
#27751B #1B5475 #691B75 #753C1B
split-complementary
#27751B #3C1B75 #751B54
monochromatic
#081906 #164310 #27751B #38A726 #4DD139

Accessibility & contrast

On white

5.76
#27751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#27751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27751B
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27751B#FFFFFF#000000##FFFFFF
##27751B1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0A
Deuteranopia (green-blind)
#6F6324
Tritanopia (blue-blind)
#197164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #27751b;
/* rgb */ color: rgb(39, 117, 27);
/* oklch */ color: oklch(49.6% 0.145 141.2);
Tailwind
colors: {
  custom: {
    50: '#6d9e5e',
    500: '#27751b',
    950: '#000000',
  },
}
SCSS
$custom: #27751b;
$custom-light: #6d9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#27751b",
  "rgb": {
    "r": 39,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 112,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49595,
    "c": 0.14486,
    "h": 141.2
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#27751B
secondary
#9C42A9
accent
#42E6D0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #27751B

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

Preview Lab → · Contrast checker → · Palette generator →

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