#167E1B#167E1B

#167E1B is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.161 H 143.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#167E1B
RGBrgb(22, 126, 27)
HSLhsl(123, 70%, 29%)
HSVhsv(123, 83%, 49%)
CMYKcmyk(82.5%, 0%, 78.6%, 50.6%)
CIE-LABlab(45.87, -47.64, 42.81)
CIE-LCHlch(45.87, 64.05, 138.06°)
OKLaboklab(51.78% -0.1291 0.0963)
OKLCHoklch(51.78% 0.161 143.3)
XYZxyz(7.9890, 15.1704, 3.5438)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167E1B #7E1679
analogous
#457E16 #167E1B #167E4F
triadic
#167E1B #1B167E #7E1B16
tetradic
#167E1B #16457E #7E1679 #7E4F16
square
#167E1B #16457E #7E1679 #7E4F16
split-complementary
#167E1B #4F167E #7E1645
monochromatic
#051A06 #0D4A10 #167E1B #1FB226 #33DB3B

Accessibility & contrast

On white

5.21
#167E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#167E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167E1B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167E1B#FFFFFF#000000##FFFFFF
##167E1B1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #167e1b;
/* rgb */ color: rgb(22, 126, 27);
/* oklch */ color: oklch(51.8% 0.161 143.3);
Tailwind
colors: {
  custom: {
    50: '#69a45f',
    500: '#167e1b',
    950: '#000000',
  },
}
SCSS
$custom: #167e1b;
$custom-light: #69a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#167e1b",
  "rgb": {
    "r": 22,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 122.885,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.16106,
    "h": 143.3
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#167E1B
secondary
#B33DAD
accent
#3BE4ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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