#29871F#29871F

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

Color values

HEX#29871F
RGBrgb(41, 135, 31)
HSLhsl(114, 63%, 33%)
HSVhsv(114, 77%, 53%)
CMYKcmyk(69.6%, 0%, 77%, 47.1%)
CIE-LABlab(49.37, -47.11, 44.96)
CIE-LCHlch(49.37, 65.12, 136.34°)
OKLaboklab(54.81% -0.1284 0.1012)
OKLCHoklch(54.81% 0.164 141.8)
XYZxyz(9.8252, 17.8973, 4.2328)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29871F #7D1F87
analogous
#5D871F #29871F #1F8749
triadic
#29871F #1F2987 #871F29
tetradic
#29871F #1F5D87 #7D1F87 #87491F
square
#29871F #1F5D87 #7D1F87 #87491F
split-complementary
#29871F #491F87 #871F5D
monochromatic
#0B2308 #1A5514 #29871F #38B92A #58D64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##29871F#FFFFFF#000000##FFFFFF
##29871F1.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)
#8A7A09
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#148373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #29871f;
/* rgb */ color: rgb(41, 135, 31);
/* oklch */ color: oklch(54.8% 0.164 141.8);
Tailwind
colors: {
  custom: {
    50: '#71ab62',
    500: '#29871f',
    950: '#000000',
  },
}
SCSS
$custom: #29871f;
$custom-light: #71ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#29871f",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 114.231,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54805,
    "c": 0.16355,
    "h": 141.8
  },
  "luminance": 0.17898
}

Semantic roles & 50–950 ramp

primary
#29871F
secondary
#AE4AB8
accent
#42E6D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #29871F

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

Preview Lab → · Contrast checker → · Palette generator →

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