#27842E#27842E

#27842E is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.150 H 144.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#27842E
RGBrgb(39, 132, 46)
HSLhsl(125, 54%, 34%)
HSVhsv(125, 70%, 52%)
CMYKcmyk(70.5%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.42, -44.99, 37.66)
CIE-LCHlch(48.42, 58.67, 140.07°)
OKLaboklab(54.05% -0.1218 0.0878)
OKLCHoklch(54.05% 0.15 144.2)
XYZxyz(9.5805, 17.1301, 5.3858)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27842E #84277D
analogous
#4E8427 #27842E #27845C
triadic
#27842E #2E2784 #842E27
tetradic
#27842E #274E84 #84277D #845C27
square
#27842E #274E84 #84277D #845C27
split-complementary
#27842E #5C2784 #84274E
monochromatic
#0B260D #19551E #27842E #35B33E #58CE61

Accessibility & contrast

On white

4.74
#27842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#27842E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27842E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27842E#FFFFFF#000000##FFFFFF
##27842E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#098072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #27842e;
/* rgb */ color: rgb(39, 132, 46);
/* oklch */ color: oklch(54.0% 0.150 144.2);
Tailwind
colors: {
  custom: {
    50: '#6fa96a',
    500: '#27842e',
    950: '#000000',
  },
}
SCSS
$custom: #27842e;
$custom-light: #6fa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#27842e",
  "rgb": {
    "r": 39,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 124.516,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.15016,
    "h": 144.2
  },
  "luminance": 0.17131
}

Semantic roles & 50–950 ramp

primary
#27842E
secondary
#B254AB
accent
#4AD3DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #27842E

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

Preview Lab → · Contrast checker → · Palette generator →

#27842E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva