#27942D#27942D

#27942D is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.171 H 143.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#27942D
RGBrgb(39, 148, 45)
HSLhsl(123, 58%, 37%)
HSVhsv(123, 74%, 58%)
CMYKcmyk(73.6%, 0%, 69.6%, 42%)
CIE-LABlab(53.81, -50.79, 44.00)
CIE-LCHlch(53.81, 67.20, 139.10°)
OKLaboklab(58.51% -0.1376 0.1011)
OKLCHoklch(58.51% 0.171 143.7)
XYZxyz(11.8995, 21.7993, 6.0627)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27942D #94278E
analogous
#589427 #27942D #279464
triadic
#27942D #2D2794 #942D27
tetradic
#27942D #275894 #94278E #946427
square
#27942D #275894 #94278E #946427
split-complementary
#27942D #642794 #942758
monochromatic
#0D3310 #1A641E #27942D #34C43C #60D567

Accessibility & contrast

On white

3.92
#27942D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#27942D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27942D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27942D#FFFFFF#000000##000000
##27942D1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#8B7D37
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #27942d;
/* rgb */ color: rgb(39, 148, 45);
/* oklch */ color: oklch(58.5% 0.171 143.7);
Tailwind
colors: {
  custom: {
    50: '#73b46b',
    500: '#27942d',
    950: '#000000',
  },
}
SCSS
$custom: #27942d;
$custom-light: #73b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#27942d",
  "rgb": {
    "r": 39,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 123.303,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58509,
    "c": 0.17073,
    "h": 143.7
  },
  "luminance": 0.21801
}

Semantic roles & 50–950 ramp

primary
#27942D
secondary
#BB5CB5
accent
#46D9E2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #27942D

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

Preview Lab → · Contrast checker → · Palette generator →

#27942D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva