#176227#176227

#176227 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.7% C 0.117 H 146.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#176227
RGBrgb(23, 98, 39)
HSLhsl(133, 62%, 24%)
HSVhsv(133, 77%, 38%)
CMYKcmyk(76.5%, 0%, 60.2%, 61.6%)
CIE-LABlab(36.11, -36.17, 26.86)
CIE-LCHlch(36.11, 45.05, 143.41°)
OKLaboklab(43.71% -0.0975 0.0639)
OKLCHoklch(43.71% 0.117 146.7)
XYZxyz(5.0869, 9.0634, 3.4004)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176227 #621752
analogous
#2C6217 #176227 #17624C
triadic
#176227 #271762 #622717
tetradic
#176227 #172C62 #621752 #624C17
square
#176227 #172C62 #621752 #624C17
split-complementary
#176227 #4C1762 #62172C
monochromatic
#06190A #0B3013 #176227 #23943B #2EC54E

Accessibility & contrast

On white

7.47
#176227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#176227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #176227
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176227#FFFFFF#000000##FFFFFF
##1762271.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635921
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #176227;
/* rgb */ color: rgb(23, 98, 39);
/* oklch */ color: oklch(43.7% 0.117 146.7);
Tailwind
colors: {
  custom: {
    50: '#618f63',
    500: '#176227',
    950: '#000000',
  },
}
SCSS
$custom: #176227;
$custom-light: #618f63;
$custom-dark: #000000;
JSON
{
  "hex": "#176227",
  "rgb": {
    "r": 23,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 132.8,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43713,
    "c": 0.11656,
    "h": 146.7
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#176227
secondary
#993C85
accent
#43C2E5
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #176227

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

Preview Lab → · Contrast checker → · Palette generator →

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