#17811A#17811A

#17811A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.165 H 143.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#17811A
RGBrgb(23, 129, 26)
HSLhsl(122, 70%, 30%)
HSVhsv(122, 82%, 51%)
CMYKcmyk(82.2%, 0%, 79.8%, 49.4%)
CIE-LABlab(46.92, -48.57, 44.20)
CIE-LCHlch(46.92, 65.67, 137.70°)
OKLaboklab(52.65% -0.1317 0.0991)
OKLCHoklch(52.65% 0.165 143.1)
XYZxyz(8.3895, 15.9562, 3.6148)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17811A #81177E
analogous
#498117 #17811A #17814F
triadic
#17811A #1A1781 #811A17
tetradic
#17811A #174981 #81177E #814F17
square
#17811A #174981 #81177E #814F17
split-complementary
#17811A #4F1781 #811749
monochromatic
#051A05 #0E4D10 #17811A #20B524 #37DB3C

Accessibility & contrast

On white

5.01
#17811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#17811A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17811A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17811A#FFFFFF#000000##FFFFFF
##17811A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #17811a;
/* rgb */ color: rgb(23, 129, 26);
/* oklch */ color: oklch(52.7% 0.165 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa75f',
    500: '#17811a',
    950: '#000000',
  },
}
SCSS
$custom: #17811a;
$custom-light: #6aa75f;
$custom-dark: #000000;
JSON
{
  "hex": "#17811a",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 121.698,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52652,
    "c": 0.1648,
    "h": 143.1
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#17811A
secondary
#B53EB2
accent
#3BE8ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #17811A

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

Preview Lab → · Contrast checker → · Palette generator →

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