#29871B#29871B

#29871B is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.166 H 141.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#29871B
RGBrgb(41, 135, 27)
HSLhsl(112, 67%, 32%)
HSVhsv(112, 80%, 53%)
CMYKcmyk(69.6%, 0%, 80%, 47.1%)
CIE-LABlab(49.35, -47.40, 46.34)
CIE-LCHlch(49.35, 66.29, 135.65°)
OKLaboklab(54.78% -0.1294 0.1035)
OKLCHoklch(54.78% 0.166 141.3)
XYZxyz(9.7757, 17.8775, 3.9722)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29871B #791B87
analogous
#5F871B #29871B #1B8743
triadic
#29871B #1B2987 #871B29
tetradic
#29871B #1B5F87 #791B87 #87431B
square
#29871B #1B5F87 #791B87 #87431B
split-complementary
#29871B #431B87 #871B5F
monochromatic
#0A2107 #1A5411 #29871B #38BA25 #56D943

Accessibility & contrast

On white

4.59
#29871B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#29871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #29871B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29871B#FFFFFF#000000##FFFFFF
##29871B1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#807228
Tritanopia (blue-blind)
#158373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #29871b;
/* rgb */ color: rgb(41, 135, 27);
/* oklch */ color: oklch(54.8% 0.166 141.3);
Tailwind
colors: {
  custom: {
    50: '#71ab61',
    500: '#29871b',
    950: '#000000',
  },
}
SCSS
$custom: #29871b;
$custom-light: #71ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#29871b",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 112.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54778,
    "c": 0.16576,
    "h": 141.3
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#29871B
secondary
#AB44BA
accent
#3EEAD3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #29871B

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

Preview Lab → · Contrast checker → · Palette generator →

#29871B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva