#172E06#172E06

#172E06 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.2% C 0.070 H 134.7°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#172E06
RGBrgb(23, 46, 6)
HSLhsl(95, 77%, 10%)
HSVhsv(95, 87%, 18%)
CMYKcmyk(50%, 0%, 87%, 82%)
CIE-LABlab(16.25, -17.53, 20.65)
CIE-LCHlch(16.25, 27.09, 130.34°)
OKLaboklab(27.22% -0.049 0.0496)
OKLCHoklch(27.22% 0.07 134.7)
XYZxyz(1.3632, 2.1492, 0.5153)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E06 #1D062E
analogous
#2B2E06 #172E06 #062E09
triadic
#172E06 #06172E #2E0617
tetradic
#172E06 #062B2E #1D062E #2E0906
square
#172E06 #062B2E #1D062E #2E0906
split-complementary
#172E06 #09062E #2E062B
monochromatic
#0E1B04 #0E1B04 #172E06 #32640D #4D9A14

Accessibility & contrast

On white

14.69
#172E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#172E06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E06
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E06#FFFFFF#000000##FFFFFF
##172E061.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302902
Deuteranopia (green-blind)
#2D2809
Tritanopia (blue-blind)
#172C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172e06;
/* rgb */ color: rgb(23, 46, 6);
/* oklch */ color: oklch(27.2% 0.070 134.7);
Tailwind
colors: {
  custom: {
    50: '#566749',
    500: '#172e06',
    950: '#000000',
  },
}
SCSS
$custom: #172e06;
$custom-light: #566749;
$custom-dark: #000000;
JSON
{
  "hex": "#172e06",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 94.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27216,
    "c": 0.06971,
    "h": 134.7
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#172E06
secondary
#4E216F
accent
#34F3A2
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #172E06

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

Preview Lab → · Contrast checker → · Palette generator →

#172E06 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva