#27942A#27942A

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

Color values

HEX#27942A
RGBrgb(39, 148, 42)
HSLhsl(122, 58%, 37%)
HSVhsv(122, 74%, 58%)
CMYKcmyk(73.6%, 0%, 71.6%, 42%)
CIE-LABlab(53.79, -51.08, 45.21)
CIE-LCHlch(53.79, 68.21, 138.49°)
OKLaboklab(58.48% -0.1385 0.1033)
OKLCHoklch(58.48% 0.173 143.3)
XYZxyz(11.8438, 21.7770, 5.7692)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27942A #942791
analogous
#5B9427 #27942A #279461
triadic
#27942A #2A2794 #942A27
tetradic
#27942A #275B94 #942791 #946127
square
#27942A #275B94 #942791 #946127
split-complementary
#27942A #612794 #94275B
monochromatic
#0D330F #1A641C #27942A #34C438 #60D563

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27942A#FFFFFF#000000##000000
##27942A1.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)
#97861A
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #27942a;
/* rgb */ color: rgb(39, 148, 42);
/* oklch */ color: oklch(58.5% 0.173 143.3);
Tailwind
colors: {
  custom: {
    50: '#73b46a',
    500: '#27942a',
    950: '#000000',
  },
}
SCSS
$custom: #27942a;
$custom-light: #73b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#27942a",
  "rgb": {
    "r": 39,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 121.651,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.17276,
    "h": 143.3
  },
  "luminance": 0.21778
}

Semantic roles & 50–950 ramp

primary
#27942A
secondary
#BB5CB8
accent
#46DDE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #27942A

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

Preview Lab → · Contrast checker → · Palette generator →

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