#168227#168227

#168227 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.0% C 0.158 H 144.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#168227
RGBrgb(22, 130, 39)
HSLhsl(129, 71%, 30%)
HSVhsv(129, 83%, 51%)
CMYKcmyk(83.1%, 0%, 70%, 49%)
CIE-LABlab(47.34, -47.87, 39.53)
CIE-LCHlch(47.34, 62.08, 140.45°)
OKLaboklab(53.03% -0.1291 0.091)
OKLCHoklch(53.03% 0.158 144.8)
XYZxyz(8.6791, 16.2813, 4.6042)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168227 #821671
analogous
#3B8216 #168227 #16825D
triadic
#168227 #271682 #822716
tetradic
#168227 #163B82 #821671 #825D16
square
#168227 #163B82 #821671 #825D16
split-complementary
#168227 #5D1682 #82163B
monochromatic
#041A08 #0D4E17 #168227 #1FB637 #35DD50

Accessibility & contrast

On white

4.93
#168227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#168227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168227
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168227#FFFFFF#000000##FFFFFF
##1682271.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751A
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #168227;
/* rgb */ color: rgb(22, 130, 39);
/* oklch */ color: oklch(53.0% 0.158 144.8);
Tailwind
colors: {
  custom: {
    50: '#69a766',
    500: '#168227',
    950: '#000000',
  },
}
SCSS
$custom: #168227;
$custom-light: #69a766;
$custom-dark: #000000;
JSON
{
  "hex": "#168227",
  "rgb": {
    "r": 22,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 129.444,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53031,
    "c": 0.15801,
    "h": 144.8
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#168227
secondary
#B73DA3
accent
#3AD2EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071006
muted
#7A7F7A

Preview Lab

Preview with #168227

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

Preview Lab → · Contrast checker → · Palette generator →

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