#17811F#17811F

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

Color values

HEX#17811F
RGBrgb(23, 129, 31)
HSLhsl(125, 70%, 30%)
HSVhsv(125, 82%, 51%)
CMYKcmyk(82.2%, 0%, 76%, 49.4%)
CIE-LABlab(46.95, -48.17, 42.41)
CIE-LCHlch(46.95, 64.18, 138.64°)
OKLaboklab(52.69% -0.1304 0.096)
OKLCHoklch(52.69% 0.162 143.6)
XYZxyz(8.4504, 15.9806, 3.9353)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17811F #811779
analogous
#448117 #17811F #178154
triadic
#17811F #1F1781 #811F17
tetradic
#17811F #174481 #811779 #815417
square
#17811F #174481 #811779 #815417
split-complementary
#17811F #541781 #811744
monochromatic
#051A06 #0E4D13 #17811F #20B52B #37DB43

Accessibility & contrast

On white

5.00
#17811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#17811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17811F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17811F#FFFFFF#000000##FFFFFF
##17811F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #17811f;
/* rgb */ color: rgb(23, 129, 31);
/* oklch */ color: oklch(52.7% 0.162 143.6);
Tailwind
colors: {
  custom: {
    50: '#6aa761',
    500: '#17811f',
    950: '#000000',
  },
}
SCSS
$custom: #17811f;
$custom-light: #6aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#17811f",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 124.528,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.16194,
    "h": 143.6
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#17811F
secondary
#B53EAC
accent
#3BDFED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #17811F

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

Preview Lab → · Contrast checker → · Palette generator →

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