#168228#168228

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

Color values

HEX#168228
RGBrgb(22, 130, 40)
HSLhsl(130, 71%, 30%)
HSVhsv(130, 83%, 51%)
CMYKcmyk(83.1%, 0%, 69.2%, 49%)
CIE-LABlab(47.35, -47.76, 39.10)
CIE-LCHlch(47.35, 61.73, 140.69°)
OKLaboklab(53.04% -0.1288 0.0903)
OKLCHoklch(53.04% 0.157 145)
XYZxyz(8.6959, 16.2880, 4.6927)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168228 #821670
analogous
#3A8216 #168228 #16825E
triadic
#168228 #281682 #822816
tetradic
#168228 #163A82 #821670 #825E16
square
#168228 #163A82 #821670 #825E16
split-complementary
#168228 #5E1682 #82163A
monochromatic
#041A08 #0D4E18 #168228 #1FB638 #35DD51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##168228#FFFFFF#000000##FFFFFF
##1682281.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)
#84751C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #168228;
/* rgb */ color: rgb(22, 130, 40);
/* oklch */ color: oklch(53.0% 0.157 145.0);
Tailwind
colors: {
  custom: {
    50: '#69a767',
    500: '#168228',
    950: '#000000',
  },
}
SCSS
$custom: #168228;
$custom-light: #69a767;
$custom-dark: #000000;
JSON
{
  "hex": "#168228",
  "rgb": {
    "r": 22,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 130,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53041,
    "c": 0.15729,
    "h": 145
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#168228
secondary
#B73DA2
accent
#3AD0EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071006
muted
#7A7F7A

Preview Lab

Preview with #168228

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

Preview Lab → · Contrast checker → · Palette generator →

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