#17811C#17811C

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

Color values

HEX#17811C
RGBrgb(23, 129, 28)
HSLhsl(123, 70%, 30%)
HSVhsv(123, 82%, 51%)
CMYKcmyk(82.2%, 0%, 78.3%, 49.4%)
CIE-LABlab(46.93, -48.42, 43.50)
CIE-LCHlch(46.93, 65.09, 138.06°)
OKLaboklab(52.67% -0.1312 0.0979)
OKLCHoklch(52.67% 0.164 143.3)
XYZxyz(8.4127, 15.9655, 3.7367)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17811C #81177C
analogous
#478117 #17811C #178151
triadic
#17811C #1C1781 #811C17
tetradic
#17811C #174781 #81177C #815117
square
#17811C #174781 #81177C #815117
split-complementary
#17811C #511781 #811747
monochromatic
#051A06 #0E4D11 #17811C #20B527 #37DB3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17811C#FFFFFF#000000##FFFFFF
##17811C1.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)
#847405
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #17811c;
/* rgb */ color: rgb(23, 129, 28);
/* oklch */ color: oklch(52.7% 0.164 143.3);
Tailwind
colors: {
  custom: {
    50: '#6aa760',
    500: '#17811c',
    950: '#000000',
  },
}
SCSS
$custom: #17811c;
$custom-light: #6aa760;
$custom-dark: #000000;
JSON
{
  "hex": "#17811c",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 122.83,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.1637,
    "h": 143.3
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#17811C
secondary
#B53EB0
accent
#3BE4ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #17811C

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

Preview Lab → · Contrast checker → · Palette generator →

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