#166823#166823

#166823 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.129 H 145.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#166823
RGBrgb(22, 104, 35)
HSLhsl(130, 65%, 25%)
HSVhsv(130, 79%, 41%)
CMYKcmyk(78.8%, 0%, 66.3%, 59.2%)
CIE-LABlab(38.18, -39.18, 31.30)
CIE-LCHlch(38.18, 50.15, 141.38°)
OKLaboklab(45.41% -0.1057 0.0732)
OKLCHoklch(45.41% 0.129 145.3)
XYZxyz(5.5842, 10.1919, 3.2627)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166823 #68165B
analogous
#326816 #166823 #16684C
triadic
#166823 #231668 #682316
tetradic
#166823 #163268 #68165B #684C16
square
#166823 #163268 #68165B #684C16
split-complementary
#166823 #4C1668 #681632
monochromatic
#051908 #0B3512 #166823 #219B34 #2BCD45

Accessibility & contrast

On white

6.91
#166823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#166823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166823
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166823#FFFFFF#000000##FFFFFF
##1668231.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1B
Deuteranopia (green-blind)
#615729
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166823;
/* rgb */ color: rgb(22, 104, 35);
/* oklch */ color: oklch(45.4% 0.129 145.3);
Tailwind
colors: {
  custom: {
    50: '#629461',
    500: '#166823',
    950: '#000000',
  },
}
SCSS
$custom: #166823;
$custom-light: #629461;
$custom-dark: #000000;
JSON
{
  "hex": "#166823",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 35
  },
  "hsl": {
    "h": 129.512,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.12856,
    "h": 145.3
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#166823
secondary
#9F3B8F
accent
#40CDE8
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166823

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

Preview Lab → · Contrast checker → · Palette generator →

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