#17801F#17801F

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

Color values

HEX#17801F
RGBrgb(23, 128, 31)
HSLhsl(125, 70%, 30%)
HSVhsv(125, 82%, 50%)
CMYKcmyk(82%, 0%, 75.8%, 49.8%)
CIE-LABlab(46.60, -47.84, 42.06)
CIE-LCHlch(46.60, 63.70, 138.68°)
OKLaboklab(52.4% -0.1295 0.0953)
OKLCHoklch(52.4% 0.161 143.6)
XYZxyz(8.3193, 15.7184, 3.8916)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17801F #801778
analogous
#448017 #17801F #178053
triadic
#17801F #1F1780 #801F17
tetradic
#17801F #174480 #801778 #805317
square
#17801F #174480 #801778 #805317
split-complementary
#17801F #531780 #801744
monochromatic
#051A06 #0E4C12 #17801F #20B42C #36DB43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17801F#FFFFFF#000000##FFFFFF
##17801F1.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)
#83730D
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #17801f;
/* rgb */ color: rgb(23, 128, 31);
/* oklch */ color: oklch(52.4% 0.161 143.6);
Tailwind
colors: {
  custom: {
    50: '#69a661',
    500: '#17801f',
    950: '#000000',
  },
}
SCSS
$custom: #17801f;
$custom-light: #69a661;
$custom-dark: #000000;
JSON
{
  "hex": "#17801f",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 124.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52401,
    "c": 0.16077,
    "h": 143.6
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#17801F
secondary
#B43EAB
accent
#3BDFEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #17801F

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

Preview Lab → · Contrast checker → · Palette generator →

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