#17731A#17731A

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

Color values

HEX#17731A
RGBrgb(23, 115, 26)
HSLhsl(122, 67%, 27%)
HSVhsv(122, 80%, 45%)
CMYKcmyk(80%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.03, -43.88, 39.36)
CIE-LCHlch(42.03, 58.95, 138.11°)
OKLaboklab(48.59% -0.119 0.089)
OKLCHoklch(48.59% 0.149 143.2)
XYZxyz(6.6701, 12.5174, 3.0417)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17731A #731770
analogous
#427317 #17731A #177348
triadic
#17731A #1A1773 #731A17
tetradic
#17731A #174273 #731770 #734817
square
#17731A #174273 #731770 #734817
split-complementary
#17731A #481773 #731742
monochromatic
#051A06 #0D400E #17731A #21A626 #2FD534

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17731A#FFFFFF#000000##FFFFFF
##17731A1.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)
#766709
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #17731a;
/* rgb */ color: rgb(23, 115, 26);
/* oklch */ color: oklch(48.6% 0.149 143.2);
Tailwind
colors: {
  custom: {
    50: '#669c5d',
    500: '#17731a',
    950: '#000000',
  },
}
SCSS
$custom: #17731a;
$custom-light: #669c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#17731a",
  "rgb": {
    "r": 23,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 121.957,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48585,
    "c": 0.14856,
    "h": 143.2
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#17731A
secondary
#A93DA5
accent
#3EE4EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #17731A

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

Preview Lab → · Contrast checker → · Palette generator →

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