#17731C#17731C

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

Color values

HEX#17731C
RGBrgb(23, 115, 28)
HSLhsl(123, 67%, 27%)
HSVhsv(123, 80%, 45%)
CMYKcmyk(80%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.04, -43.70, 38.59)
CIE-LCHlch(42.04, 58.30, 138.56°)
OKLaboklab(48.6% -0.1184 0.0876)
OKLCHoklch(48.6% 0.147 143.5)
XYZxyz(6.6933, 12.5267, 3.1635)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17731C #73176E
analogous
#407317 #17731C #17734A
triadic
#17731C #1C1773 #731C17
tetradic
#17731C #174073 #73176E #734A17
square
#17731C #174073 #73176E #734A17
split-complementary
#17731C #4A1773 #731740
monochromatic
#051A06 #0D4010 #17731C #21A628 #2FD538

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17731C#FFFFFF#000000##FFFFFF
##17731C1.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)
#75670D
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #17731c;
/* rgb */ color: rgb(23, 115, 28);
/* oklch */ color: oklch(48.6% 0.147 143.5);
Tailwind
colors: {
  custom: {
    50: '#669c5e',
    500: '#17731c',
    950: '#000000',
  },
}
SCSS
$custom: #17731c;
$custom-light: #669c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#17731c",
  "rgb": {
    "r": 23,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 123.261,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.14729,
    "h": 143.5
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#17731C
secondary
#A93DA3
accent
#3EE0EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #17731C

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

Preview Lab → · Contrast checker → · Palette generator →

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