#17901D#17901D

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

Color values

HEX#17901D
RGBrgb(23, 144, 29)
HSLhsl(123, 72%, 33%)
HSVhsv(123, 84%, 56%)
CMYKcmyk(84%, 0%, 79.9%, 43.5%)
CIE-LABlab(52.08, -53.18, 48.19)
CIE-LCHlch(52.08, 71.76, 137.82°)
OKLaboklab(56.96% -0.1441 0.1078)
OKLCHoklch(56.96% 0.18 143.2)
XYZxyz(10.5477, 20.2161, 4.5084)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17901D #90178A
analogous
#4E9017 #17901D #179059
triadic
#17901D #1D1790 #901D17
tetradic
#17901D #174E90 #90178A #905917
square
#17901D #174E90 #90178A #905917
split-complementary
#17901D #591790 #90174E
monochromatic
#062608 #0F5B12 #17901D #1FC528 #41E149

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17901D#FFFFFF#000000##000000
##17901D1.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)
#87792B
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #17901d;
/* rgb */ color: rgb(23, 144, 29);
/* oklch */ color: oklch(57.0% 0.180 143.2);
Tailwind
colors: {
  custom: {
    50: '#6eb263',
    500: '#17901d',
    950: '#000000',
  },
}
SCSS
$custom: #17901d;
$custom-light: #6eb263;
$custom-dark: #000000;
JSON
{
  "hex": "#17901d",
  "rgb": {
    "r": 23,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 122.975,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56955,
    "c": 0.17994,
    "h": 143.2
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#17901D
secondary
#C142BB
accent
#39E6EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #17901D

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

Preview Lab → · Contrast checker → · Palette generator →

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