#168031#168031

#168031 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.148 H 146.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#168031
RGBrgb(22, 128, 49)
HSLhsl(135, 71%, 29%)
HSVhsv(135, 83%, 50%)
CMYKcmyk(82.8%, 0%, 61.7%, 49.8%)
CIE-LABlab(46.75, -45.97, 34.23)
CIE-LCHlch(46.75, 57.31, 143.33°)
OKLaboklab(52.57% -0.1236 0.0808)
OKLCHoklch(52.57% 0.148 146.8)
XYZxyz(8.6038, 15.8296, 5.5071)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168031 #801665
analogous
#308016 #168031 #168066
triadic
#168031 #311680 #803116
tetradic
#168031 #163080 #801665 #806616
square
#168031 #163080 #801665 #806616
split-complementary
#168031 #661680 #801630
monochromatic
#041A0A #0D4C1D #168031 #1FB445 #34DC5F

Accessibility & contrast

On white

5.04
#168031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#168031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168031
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168031#FFFFFF#000000##FFFFFF
##1680311.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#766C38
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #168031;
/* rgb */ color: rgb(22, 128, 49);
/* oklch */ color: oklch(52.6% 0.148 146.8);
Tailwind
colors: {
  custom: {
    50: '#68a66c',
    500: '#168031',
    950: '#000000',
  },
}
SCSS
$custom: #168031;
$custom-light: #68a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#168031",
  "rgb": {
    "r": 22,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 135.283,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52571,
    "c": 0.14769,
    "h": 146.8
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#168031
secondary
#B53D96
accent
#3AC0ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #168031

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

Preview Lab → · Contrast checker → · Palette generator →

#168031 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva