#167F26#167F26

#167F26 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.155 H 144.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#167F26
RGBrgb(22, 127, 38)
HSLhsl(129, 70%, 29%)
HSVhsv(129, 83%, 50%)
CMYKcmyk(82.7%, 0%, 70.1%, 50.2%)
CIE-LABlab(46.30, -46.96, 38.84)
CIE-LCHlch(46.30, 60.94, 140.41°)
OKLaboklab(52.16% -0.1267 0.0895)
OKLCHoklch(52.16% 0.155 144.8)
XYZxyz(8.2695, 15.4883, 4.3870)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F26 #7F166F
analogous
#3B7F16 #167F26 #167F5B
triadic
#167F26 #26167F #7F2616
tetradic
#167F26 #163B7F #7F166F #7F5B16
square
#167F26 #163B7F #7F166F #7F5B16
split-complementary
#167F26 #5B167F #7F163B
monochromatic
#051A08 #0D4B16 #167F26 #1FB336 #34DC4D

Accessibility & contrast

On white

5.12
#167F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#167F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167F26
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167F26#FFFFFF#000000##FFFFFF
##167F261.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #167f26;
/* rgb */ color: rgb(22, 127, 38);
/* oklch */ color: oklch(52.2% 0.155 144.8);
Tailwind
colors: {
  custom: {
    50: '#68a565',
    500: '#167f26',
    950: '#000000',
  },
}
SCSS
$custom: #167f26;
$custom-light: #68a565;
$custom-dark: #000000;
JSON
{
  "hex": "#167f26",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 129.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52159,
    "c": 0.15513,
    "h": 144.8
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#167F26
secondary
#B43DA2
accent
#3BD2ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #167F26

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

Preview Lab → · Contrast checker → · Palette generator →

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