#166A25#166A25

#166A25 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.130 H 145.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#166A25
RGBrgb(22, 106, 37)
HSLhsl(131, 66%, 25%)
HSVhsv(131, 79%, 42%)
CMYKcmyk(79.2%, 0%, 65.1%, 58.4%)
CIE-LABlab(38.92, -39.66, 31.15)
CIE-LCHlch(38.92, 50.43, 141.86°)
OKLaboklab(46.03% -0.1069 0.073)
OKLCHoklch(46.03% 0.13 145.7)
XYZxyz(5.8184, 10.6115, 3.4915)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A25 #6A165B
analogous
#316A16 #166A25 #166A4F
triadic
#166A25 #25166A #6A2516
tetradic
#166A25 #16316A #6A165B #6A4F16
square
#166A25 #16316A #6A165B #6A4F16
split-complementary
#166A25 #4F166A #6A1631
monochromatic
#051909 #0B3713 #166A25 #219D37 #2BCF48

Accessibility & contrast

On white

6.73
#166A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#166A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A25
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A25#FFFFFF#000000##FFFFFF
##166A251.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601D
Deuteranopia (green-blind)
#62592B
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a25;
/* rgb */ color: rgb(22, 106, 37);
/* oklch */ color: oklch(46.0% 0.130 145.7);
Tailwind
colors: {
  custom: {
    50: '#639562',
    500: '#166a25',
    950: '#000000',
  },
}
SCSS
$custom: #166a25;
$custom-light: #639562;
$custom-dark: #000000;
JSON
{
  "hex": "#166a25",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 37
  },
  "hsl": {
    "h": 130.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46029,
    "c": 0.1295,
    "h": 145.7
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

primary
#166A25
secondary
#A03B8E
accent
#3FCAE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166A25

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

Preview Lab → · Contrast checker → · Palette generator →

#166A25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva