#27851A#27851A

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

Color values

HEX#27851A
RGBrgb(39, 133, 26)
HSLhsl(113, 67%, 31%)
HSVhsv(113, 80%, 52%)
CMYKcmyk(70.7%, 0%, 80.5%, 47.8%)
CIE-LABlab(48.61, -47.19, 45.94)
CIE-LCHlch(48.61, 65.86, 135.76°)
OKLaboklab(54.15% -0.1288 0.1026)
OKLCHoklch(54.15% 0.165 141.5)
XYZxyz(9.4102, 17.2800, 3.8165)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27851A #781A85
analogous
#5C851A #27851A #1A8542
triadic
#27851A #1A2785 #851A27
tetradic
#27851A #1A5C85 #781A85 #85421A
square
#27851A #1A5C85 #781A85 #85421A
split-complementary
#27851A #421A85 #851A5C
monochromatic
#091F06 #185210 #27851A #36B824 #52DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27851A#FFFFFF#000000##FFFFFF
##27851A1.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)
#887800
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#118171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #27851a;
/* rgb */ color: rgb(39, 133, 26);
/* oklch */ color: oklch(54.2% 0.165 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a960',
    500: '#27851a',
    950: '#000000',
  },
}
SCSS
$custom: #27851a;
$custom-light: #70a960;
$custom-dark: #000000;
JSON
{
  "hex": "#27851a",
  "rgb": {
    "r": 39,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 112.71,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.16466,
    "h": 141.5
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#27851A
secondary
#AA42B8
accent
#3EEAD5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #27851A

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

Preview Lab → · Contrast checker → · Palette generator →

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