#27951F#27951F

#27951F is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.180 H 142.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#27951F
RGBrgb(39, 149, 31)
HSLhsl(116, 66%, 35%)
HSVhsv(116, 79%, 58%)
CMYKcmyk(73.8%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.05, -52.30, 49.53)
CIE-LCHlch(54.05, 72.03, 136.56°)
OKLaboklab(58.68% -0.1424 0.1108)
OKLCHoklch(58.68% 0.18 142.1)
XYZxyz(11.8308, 22.0238, 4.9236)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27951F #8D1F95
analogous
#62951F #27951F #1F9552
triadic
#27951F #1F2795 #951F27
tetradic
#27951F #1F6295 #8D1F95 #95521F
square
#27951F #1F6295 #8D1F95 #95521F
split-complementary
#27951F #521F95 #951F62
monochromatic
#0C300A #1A6214 #27951F #34C82A #5CDB53

Accessibility & contrast

On white

3.89
#27951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#27951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27951F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27951F#FFFFFF#000000##000000
##27951F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #27951f;
/* rgb */ color: rgb(39, 149, 31);
/* oklch */ color: oklch(58.7% 0.180 142.1);
Tailwind
colors: {
  custom: {
    50: '#74b564',
    500: '#27951f',
    950: '#000000',
  },
}
SCSS
$custom: #27951f;
$custom-light: #74b564;
$custom-dark: #000000;
JSON
{
  "hex": "#27951f",
  "rgb": {
    "r": 39,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 115.932,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.18039,
    "h": 142.1
  },
  "luminance": 0.22025
}

Semantic roles & 50–950 ramp

primary
#27951F
secondary
#B751BF
accent
#3FE9DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #27951F

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

Preview Lab → · Contrast checker → · Palette generator →

#27951F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva