#17731B#17731B

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

Color values

HEX#17731B
RGBrgb(23, 115, 27)
HSLhsl(123, 67%, 27%)
HSVhsv(123, 80%, 45%)
CMYKcmyk(80%, 0%, 76.5%, 54.9%)
CIE-LABlab(42.03, -43.79, 38.98)
CIE-LCHlch(42.03, 58.63, 138.33°)
OKLaboklab(48.59% -0.1187 0.0883)
OKLCHoklch(48.59% 0.148 143.3)
XYZxyz(6.6815, 12.5220, 3.1015)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17731B #73176F
analogous
#417317 #17731B #177349
triadic
#17731B #1B1773 #731B17
tetradic
#17731B #174173 #73176F #734917
square
#17731B #174173 #73176F #734917
split-complementary
#17731B #491773 #731741
monochromatic
#051A06 #0D400F #17731B #21A627 #2FD536

Accessibility & contrast

On white

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

On black

3.50
#17731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##17731B#FFFFFF#000000##FFFFFF
##17731B1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670B
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #17731b;
/* rgb */ color: rgb(23, 115, 27);
/* oklch */ color: oklch(48.6% 0.148 143.3);
Tailwind
colors: {
  custom: {
    50: '#669c5e',
    500: '#17731b',
    950: '#000000',
  },
}
SCSS
$custom: #17731b;
$custom-light: #669c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#17731b",
  "rgb": {
    "r": 23,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 122.609,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48593,
    "c": 0.14793,
    "h": 143.3
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#17731B
secondary
#A93DA4
accent
#3EE2EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #17731B

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

Preview Lab → · Contrast checker → · Palette generator →

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