#17901B#17901B

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

Color values

HEX#17901B
RGBrgb(23, 144, 27)
HSLhsl(122, 72%, 33%)
HSVhsv(122, 84%, 56%)
CMYKcmyk(84%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.07, -53.31, 48.82)
CIE-LCHlch(52.07, 72.29, 137.52°)
OKLaboklab(56.94% -0.1445 0.1088)
OKLCHoklch(56.94% 0.181 143)
XYZxyz(10.5238, 20.2065, 4.3823)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17901B #90178C
analogous
#509017 #17901B #179057
triadic
#17901B #1B1790 #901B17
tetradic
#17901B #175090 #90178C #905717
square
#17901B #175090 #90178C #905717
split-complementary
#17901B #571790 #901750
monochromatic
#062607 #0F5B11 #17901B #1FC525 #41E146

Accessibility & contrast

On white

4.17
#17901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##17901B#FFFFFF#000000##000000
##17901B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#008C7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #17901b;
/* rgb */ color: rgb(23, 144, 27);
/* oklch */ color: oklch(56.9% 0.181 143.0);
Tailwind
colors: {
  custom: {
    50: '#6eb262',
    500: '#17901b',
    950: '#000000',
  },
}
SCSS
$custom: #17901b;
$custom-light: #6eb262;
$custom-dark: #000000;
JSON
{
  "hex": "#17901b",
  "rgb": {
    "r": 23,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 121.983,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56943,
    "c": 0.18093,
    "h": 143
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#17901B
secondary
#C142BD
accent
#39E9EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #17901B

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

Preview Lab → · Contrast checker → · Palette generator →

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