#167D1F#167D1F

#167D1F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.158 H 143.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#167D1F
RGBrgb(22, 125, 31)
HSLhsl(125, 70%, 29%)
HSVhsv(125, 82%, 49%)
CMYKcmyk(82.4%, 0%, 75.2%, 51%)
CIE-LABlab(45.55, -46.98, 40.97)
CIE-LCHlch(45.55, 62.33, 138.90°)
OKLaboklab(51.52% -0.1271 0.093)
OKLCHoklch(51.52% 0.158 143.8)
XYZxyz(7.9113, 14.9358, 3.7620)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167D1F #7D1674
analogous
#417D16 #167D1F #167D53
triadic
#167D1F #1F167D #7D1F16
tetradic
#167D1F #16417D #7D1674 #7D5316
square
#167D1F #16417D #7D1674 #7D5316
split-complementary
#167D1F #53167D #7D1641
monochromatic
#051A06 #0D4912 #167D1F #1FB12C #32DB41

Accessibility & contrast

On white

5.27
#167D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#167D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167D1F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167D1F#FFFFFF#000000##FFFFFF
##167D1F1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700E
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #167d1f;
/* rgb */ color: rgb(22, 125, 31);
/* oklch */ color: oklch(51.5% 0.158 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a461',
    500: '#167d1f',
    950: '#000000',
  },
}
SCSS
$custom: #167d1f;
$custom-light: #68a461;
$custom-dark: #000000;
JSON
{
  "hex": "#167d1f",
  "rgb": {
    "r": 22,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 125.243,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.15751,
    "h": 143.8
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#167D1F
secondary
#B23DA8
accent
#3BDDED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#167D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva