#166234#166234

#166234 is a dark, moderate green. Relative luminance 0.092; OKLCH L 43.9% C 0.104 H 152.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#166234
RGBrgb(22, 98, 52)
HSLhsl(144, 63%, 24%)
HSVhsv(144, 78%, 38%)
CMYKcmyk(77.6%, 0%, 46.9%, 61.6%)
CIE-LABlab(36.28, -34.10, 19.80)
CIE-LCHlch(36.28, 39.43, 149.85°)
OKLaboklab(43.91% -0.0918 0.0488)
OKLCHoklch(43.91% 0.104 152)
XYZxyz(5.3179, 9.1533, 4.7346)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166234 #621644
analogous
#1E6216 #166234 #16625A
triadic
#166234 #341662 #623416
tetradic
#166234 #161E62 #621644 #625A16
square
#166234 #161E62 #621644 #625A16
split-complementary
#166234 #5A1662 #62161E
monochromatic
#06190D #0B3019 #166234 #21944F #2CC669

Accessibility & contrast

On white

7.42
#166234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#166234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166234
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166234#FFFFFF#000000##FFFFFF
##1662341.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625931
Deuteranopia (green-blind)
#595337
Tritanopia (blue-blind)
#006057
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166234;
/* rgb */ color: rgb(22, 98, 52);
/* oklch */ color: oklch(43.9% 0.104 152.0);
Tailwind
colors: {
  custom: {
    50: '#608f6c',
    500: '#166234',
    950: '#000000',
  },
}
SCSS
$custom: #166234;
$custom-light: #608f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#166234",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 52
  },
  "hsl": {
    "h": 143.684,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43911,
    "c": 0.10396,
    "h": 152
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#166234
secondary
#993B74
accent
#41A5E6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C07
muted
#7A7D7A

Preview Lab

Preview with #166234

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

Preview Lab → · Contrast checker → · Palette generator →

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