#168538#168538

#168538 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.148 H 148.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#168538
RGBrgb(22, 133, 56)
HSLhsl(138, 72%, 30%)
HSVhsv(138, 83%, 52%)
CMYKcmyk(83.5%, 0%, 57.9%, 47.8%)
CIE-LABlab(48.55, -46.74, 32.85)
CIE-LCHlch(48.55, 57.13, 144.90°)
OKLaboklab(54.09% -0.1255 0.0784)
OKLCHoklch(54.09% 0.148 148)
XYZxyz(9.4315, 17.2300, 6.5693)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168538 #851663
analogous
#2C8516 #168538 #16856F
triadic
#168538 #381685 #853816
tetradic
#168538 #162C85 #851663 #856F16
square
#168538 #162C85 #851663 #856F16
split-complementary
#168538 #6F1685 #85162C
monochromatic
#051C0C #0D5022 #168538 #1FBA4E #37DE6A

Accessibility & contrast

On white

4.72
#168538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#168538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168538
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168538#FFFFFF#000000##FFFFFF
##1685381.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867831
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #168538;
/* rgb */ color: rgb(22, 133, 56);
/* oklch */ color: oklch(54.1% 0.148 148.0);
Tailwind
colors: {
  custom: {
    50: '#69aa71',
    500: '#168538',
    950: '#000000',
  },
}
SCSS
$custom: #168538;
$custom-light: #69aa71;
$custom-dark: #000000;
JSON
{
  "hex": "#168538",
  "rgb": {
    "r": 22,
    "g": 133,
    "b": 56
  },
  "hsl": {
    "h": 138.378,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.14798,
    "h": 148
  },
  "luminance": 0.17231
}

Semantic roles & 50–950 ramp

primary
#168538
secondary
#B93E93
accent
#39B7EE
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #168538

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

Preview Lab → · Contrast checker → · Palette generator →

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