#167231#167231

#167231 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.129 H 148.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#167231
RGBrgb(22, 114, 49)
HSLhsl(138, 68%, 27%)
HSVhsv(138, 81%, 45%)
CMYKcmyk(80.7%, 0%, 57%, 55.3%)
CIE-LABlab(41.89, -40.91, 28.47)
CIE-LCHlch(41.89, 49.84, 145.16°)
OKLaboklab(48.54% -0.1099 0.0682)
OKLCHoklch(48.54% 0.129 148.2)
XYZxyz(6.9020, 12.4261, 4.9399)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167231 #721657
analogous
#297216 #167231 #16725F
triadic
#167231 #311672 #723116
tetradic
#167231 #162972 #721657 #725F16
square
#167231 #162972 #721657 #725F16
split-complementary
#167231 #5F1672 #721629
monochromatic
#051A0B #0C3F1B #167231 #20A547 #2CD65E

Accessibility & contrast

On white

6.03
#167231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#167231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167231
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167231#FFFFFF#000000##FFFFFF
##1672311.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #167231;
/* rgb */ color: rgb(22, 114, 49);
/* oklch */ color: oklch(48.5% 0.129 148.2);
Tailwind
colors: {
  custom: {
    50: '#649b6b',
    500: '#167231',
    950: '#000000',
  },
}
SCSS
$custom: #167231;
$custom-light: #649b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#167231",
  "rgb": {
    "r": 22,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 137.609,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48536,
    "c": 0.1294,
    "h": 148.2
  },
  "luminance": 0.12427
}

Semantic roles & 50–950 ramp

primary
#167231
secondary
#A83C88
accent
#3DB8EB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #167231

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

Preview Lab → · Contrast checker → · Palette generator →

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