#27981F#27981F

#27981F is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.5% C 0.184 H 142.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#27981F
RGBrgb(39, 152, 31)
HSLhsl(116, 66%, 36%)
HSVhsv(116, 80%, 60%)
CMYKcmyk(74.3%, 0%, 79.6%, 40.4%)
CIE-LABlab(55.06, -53.30, 50.49)
CIE-LCHlch(55.06, 73.42, 136.55°)
OKLaboklab(59.51% -0.1451 0.1128)
OKLCHoklch(59.51% 0.184 142.1)
XYZxyz(12.3115, 22.9853, 5.0838)
Luminance0.2299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27981F #901F98
analogous
#63981F #27981F #1F9853
triadic
#27981F #1F2798 #981F27
tetradic
#27981F #1F6398 #901F98 #98531F
square
#27981F #1F6398 #901F98 #98531F
split-complementary
#27981F #531F98 #981F63
monochromatic
#0D320A #1A6515 #27981F #34CB29 #5EDC55

Accessibility & contrast

On white

3.75
#27981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#27981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27981F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27981F#FFFFFF#000000##000000
##27981F1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #27981f;
/* rgb */ color: rgb(39, 152, 31);
/* oklch */ color: oklch(59.5% 0.184 142.1);
Tailwind
colors: {
  custom: {
    50: '#74b765',
    500: '#27981f',
    950: '#000000',
  },
}
SCSS
$custom: #27981f;
$custom-light: #74b765;
$custom-dark: #000000;
JSON
{
  "hex": "#27981f",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 116.033,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59512,
    "c": 0.18376,
    "h": 142.1
  },
  "luminance": 0.22987
}

Semantic roles & 50–950 ramp

primary
#27981F
secondary
#B953C0
accent
#3FE9DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #27981F

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

Preview Lab → · Contrast checker → · Palette generator →

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