#17731F#17731F

#17731F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.145 H 143.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#17731F
RGBrgb(23, 115, 31)
HSLhsl(125, 67%, 27%)
HSVhsv(125, 80%, 45%)
CMYKcmyk(80%, 0%, 73%, 54.9%)
CIE-LABlab(42.06, -43.41, 37.37)
CIE-LCHlch(42.06, 57.28, 139.28°)
OKLaboklab(48.63% -0.1174 0.0855)
OKLCHoklch(48.63% 0.145 143.9)
XYZxyz(6.7310, 12.5418, 3.3621)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17731F #73176B
analogous
#3D7317 #17731F #17734D
triadic
#17731F #1F1773 #731F17
tetradic
#17731F #173D73 #73176B #734D17
square
#17731F #173D73 #73176B #734D17
split-complementary
#17731F #4D1773 #73173D
monochromatic
#051A07 #0D4011 #17731F #21A62D #2FD53D

Accessibility & contrast

On white

5.99
#17731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#17731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17731F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17731F#FFFFFF#000000##FFFFFF
##17731F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756812
Deuteranopia (green-blind)
#6B6127
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #17731f;
/* rgb */ color: rgb(23, 115, 31);
/* oklch */ color: oklch(48.6% 0.145 143.9);
Tailwind
colors: {
  custom: {
    50: '#669c60',
    500: '#17731f',
    950: '#000000',
  },
}
SCSS
$custom: #17731f;
$custom-light: #669c60;
$custom-dark: #000000;
JSON
{
  "hex": "#17731f",
  "rgb": {
    "r": 23,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 125.217,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48628,
    "c": 0.14527,
    "h": 143.9
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

primary
#17731F
secondary
#A93D9F
accent
#3EDBEA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #17731F

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

Preview Lab → · Contrast checker → · Palette generator →

#17731F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva