#27851B#27851B

#27851B is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.164 H 141.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#27851B
RGBrgb(39, 133, 27)
HSLhsl(113, 66%, 31%)
HSVhsv(113, 80%, 52%)
CMYKcmyk(70.7%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.62, -47.12, 45.61)
CIE-LCHlch(48.62, 65.58, 135.93°)
OKLaboklab(54.16% -0.1286 0.102)
OKLCHoklch(54.16% 0.164 141.6)
XYZxyz(9.4215, 17.2845, 3.8764)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27851B #791B85
analogous
#5C851B #27851B #1B8544
triadic
#27851B #1B2785 #851B27
tetradic
#27851B #1B5C85 #791B85 #85441B
square
#27851B #1B5C85 #791B85 #85441B
split-complementary
#27851B #441B85 #851B5C
monochromatic
#091F06 #185211 #27851B #36B825 #53D942

Accessibility & contrast

On white

4.71
#27851B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#27851B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27851B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27851B#FFFFFF#000000##FFFFFF
##27851B1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#7D7127
Tritanopia (blue-blind)
#118171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #27851b;
/* rgb */ color: rgb(39, 133, 27);
/* oklch */ color: oklch(54.2% 0.164 141.6);
Tailwind
colors: {
  custom: {
    50: '#70a960',
    500: '#27851b',
    950: '#000000',
  },
}
SCSS
$custom: #27851b;
$custom-light: #70a960;
$custom-dark: #000000;
JSON
{
  "hex": "#27851b",
  "rgb": {
    "r": 39,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 113.208,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.16413,
    "h": 141.6
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#27851B
secondary
#AB44B8
accent
#3FE9D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #27851B

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

Preview Lab → · Contrast checker → · Palette generator →

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