#17901C#17901C

#17901C is a mid, vivid green. Relative luminance 0.202; OKLCH L 56.9% C 0.180 H 143.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#17901C
RGBrgb(23, 144, 28)
HSLhsl(122, 72%, 33%)
HSVhsv(122, 84%, 56%)
CMYKcmyk(84%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.08, -53.24, 48.51)
CIE-LCHlch(52.08, 72.03, 137.66°)
OKLaboklab(56.95% -0.1443 0.1083)
OKLCHoklch(56.95% 0.18 143.1)
XYZxyz(10.5355, 20.2112, 4.4443)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17901C #90178B
analogous
#4F9017 #17901C #179058
triadic
#17901C #1C1790 #901C17
tetradic
#17901C #174F90 #90178B #905817
square
#17901C #174F90 #90178B #905817
split-complementary
#17901C #581790 #90174F
monochromatic
#062607 #0F5B12 #17901C #1FC526 #41E147

Accessibility & contrast

On white

4.16
#17901C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#17901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #17901C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17901C#FFFFFF#000000##000000
##17901C1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #17901c;
/* rgb */ color: rgb(23, 144, 28);
/* oklch */ color: oklch(56.9% 0.180 143.1);
Tailwind
colors: {
  custom: {
    50: '#6eb262',
    500: '#17901c',
    950: '#000000',
  },
}
SCSS
$custom: #17901c;
$custom-light: #6eb262;
$custom-dark: #000000;
JSON
{
  "hex": "#17901c",
  "rgb": {
    "r": 23,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 122.479,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56949,
    "c": 0.18045,
    "h": 143.1
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

primary
#17901C
secondary
#C142BC
accent
#39E8EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #17901C

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

Preview Lab → · Contrast checker → · Palette generator →

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