#17812D#17812D

#17812D is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.152 H 145.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#17812D
RGBrgb(23, 129, 45)
HSLhsl(132, 70%, 30%)
HSVhsv(132, 82%, 51%)
CMYKcmyk(82.2%, 0%, 65.1%, 49.4%)
CIE-LABlab(47.07, -46.71, 36.52)
CIE-LCHlch(47.07, 59.29, 141.98°)
OKLaboklab(52.83% -0.1258 0.0853)
OKLCHoklch(52.83% 0.152 145.9)
XYZxyz(8.6766, 16.0711, 5.1269)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17812D #81176B
analogous
#368117 #17812D #178162
triadic
#17812D #2D1781 #812D17
tetradic
#17812D #173681 #81176B #816217
square
#17812D #173681 #81176B #816217
split-complementary
#17812D #621781 #811736
monochromatic
#051A09 #0E4D1B #17812D #20B53F #37DB59

Accessibility & contrast

On white

4.98
#17812D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#17812D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17812D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17812D#FFFFFF#000000##FFFFFF
##17812D1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837423
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #17812d;
/* rgb */ color: rgb(23, 129, 45);
/* oklch */ color: oklch(52.8% 0.152 145.9);
Tailwind
colors: {
  custom: {
    50: '#69a769',
    500: '#17812d',
    950: '#000000',
  },
}
SCSS
$custom: #17812d;
$custom-light: #69a769;
$custom-dark: #000000;
JSON
{
  "hex": "#17812d",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 132.453,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52825,
    "c": 0.152,
    "h": 145.9
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#17812D
secondary
#B53E9D
accent
#3BC8ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #17812D

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

Preview Lab → · Contrast checker → · Palette generator →

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