#168021#168021

#168021 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.160 H 144.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#168021
RGBrgb(22, 128, 33)
HSLhsl(126, 71%, 29%)
HSVhsv(126, 83%, 50%)
CMYKcmyk(82.8%, 0%, 74.2%, 49.8%)
CIE-LABlab(46.60, -47.79, 41.26)
CIE-LCHlch(46.60, 63.14, 139.19°)
OKLaboklab(52.4% -0.1292 0.0939)
OKLCHoklch(52.4% 0.16 144)
XYZxyz(8.3240, 15.7177, 4.0337)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168021 #801675
analogous
#408016 #168021 #168056
triadic
#168021 #211680 #802116
tetradic
#168021 #164080 #801675 #805616
square
#168021 #164080 #801675 #805616
split-complementary
#168021 #561680 #801640
monochromatic
#041A07 #0D4C14 #168021 #1FB42E #34DC46

Accessibility & contrast

On white

5.07
#168021 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#168021 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168021
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168021#FFFFFF#000000##FFFFFF
##1680211.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837311
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #168021;
/* rgb */ color: rgb(22, 128, 33);
/* oklch */ color: oklch(52.4% 0.160 144.0);
Tailwind
colors: {
  custom: {
    50: '#69a662',
    500: '#168021',
    950: '#000000',
  },
}
SCSS
$custom: #168021;
$custom-light: #69a662;
$custom-dark: #000000;
JSON
{
  "hex": "#168021",
  "rgb": {
    "r": 22,
    "g": 128,
    "b": 33
  },
  "hsl": {
    "h": 126.226,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.524,
    "c": 0.15974,
    "h": 144
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#168021
secondary
#B53DA8
accent
#3ADBED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #168021

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

Preview Lab → · Contrast checker → · Palette generator →

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