#17801B#17801B

#17801B is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.163 H 143.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#17801B
RGBrgb(23, 128, 27)
HSLhsl(122, 70%, 30%)
HSVhsv(122, 82%, 50%)
CMYKcmyk(82%, 0%, 78.9%, 49.8%)
CIE-LABlab(46.58, -48.17, 43.52)
CIE-LCHlch(46.58, 64.91, 137.90°)
OKLaboklab(52.37% -0.1306 0.0978)
OKLCHoklch(52.37% 0.163 143.2)
XYZxyz(8.2698, 15.6986, 3.6310)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17801B #80177C
analogous
#478017 #17801B #178050
triadic
#17801B #1B1780 #801B17
tetradic
#17801B #174780 #80177C #805017
square
#17801B #174780 #80177C #805017
split-complementary
#17801B #501780 #801747
monochromatic
#051A05 #0E4C10 #17801B #20B426 #36DB3D

Accessibility & contrast

On white

5.07
#17801B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#17801B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17801B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17801B#FFFFFF#000000##FFFFFF
##17801B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #17801b;
/* rgb */ color: rgb(23, 128, 27);
/* oklch */ color: oklch(52.4% 0.163 143.2);
Tailwind
colors: {
  custom: {
    50: '#6aa65f',
    500: '#17801b',
    950: '#000000',
  },
}
SCSS
$custom: #17801b;
$custom-light: #6aa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#17801b",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 122.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52371,
    "c": 0.16312,
    "h": 143.2
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#17801B
secondary
#B43EB0
accent
#3BE6EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #17801B

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

Preview Lab → · Contrast checker → · Palette generator →

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