#167215#167215

#167215 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.2% C 0.151 H 142.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#167215
RGBrgb(22, 114, 21)
HSLhsl(119, 69%, 26%)
HSVhsv(119, 82%, 45%)
CMYKcmyk(80.7%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.62, -44.09, 40.79)
CIE-LCHlch(41.62, 60.06, 137.23°)
OKLaboklab(48.24% -0.1197 0.0912)
OKLCHoklch(48.24% 0.151 142.7)
XYZxyz(6.4831, 12.2586, 2.7338)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167215 #711572
analogous
#457215 #167215 #157243
triadic
#167215 #151672 #721516
tetradic
#167215 #154572 #711572 #724315
square
#167215 #154572 #711572 #724315
split-complementary
#167215 #431572 #721545
monochromatic
#051A05 #0C3E0B #167215 #20A61F #2CD82A

Accessibility & contrast

On white

6.08
#167215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#167215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167215
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167215#FFFFFF#000000##FFFFFF
##1672151.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #167215;
/* rgb */ color: rgb(22, 114, 21);
/* oklch */ color: oklch(48.2% 0.151 142.7);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#167215',
    950: '#000000',
  },
}
SCSS
$custom: #167215;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#167215",
  "rgb": {
    "r": 22,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 119.355,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.15052,
    "h": 142.7
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#167215
secondary
#A73BA8
accent
#3CECEA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #167215

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

Preview Lab → · Contrast checker → · Palette generator →

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