#17812A#17812A

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

Color values

HEX#17812A
RGBrgb(23, 129, 42)
HSLhsl(131, 70%, 30%)
HSVhsv(131, 82%, 51%)
CMYKcmyk(82.2%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.04, -47.07, 37.87)
CIE-LCHlch(47.04, 60.41, 141.18°)
OKLaboklab(52.79% -0.1269 0.0879)
OKLCHoklch(52.79% 0.154 145.3)
XYZxyz(8.6209, 16.0488, 4.8334)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17812A #81176E
analogous
#398117 #17812A #17815F
triadic
#17812A #2A1781 #812A17
tetradic
#17812A #173981 #81176E #815F17
square
#17812A #173981 #81176E #815F17
split-complementary
#17812A #5F1781 #811739
monochromatic
#051A08 #0E4D19 #17812A #20B53B #37DB55

Accessibility & contrast

On white

4.99
#17812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #17812A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17812A#FFFFFF#000000##FFFFFF
##17812A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#786C32
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #17812a;
/* rgb */ color: rgb(23, 129, 42);
/* oklch */ color: oklch(52.8% 0.154 145.3);
Tailwind
colors: {
  custom: {
    50: '#69a768',
    500: '#17812a',
    950: '#000000',
  },
}
SCSS
$custom: #17812a;
$custom-light: #69a768;
$custom-dark: #000000;
JSON
{
  "hex": "#17812a",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 130.755,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.15435,
    "h": 145.3
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

primary
#17812A
secondary
#B53EA0
accent
#3BCDED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #17812A

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

Preview Lab → · Contrast checker → · Palette generator →

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