#17812F#17812F

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

Color values

HEX#17812F
RGBrgb(23, 129, 47)
HSLhsl(134, 70%, 30%)
HSVhsv(134, 82%, 51%)
CMYKcmyk(82.2%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.09, -46.46, 35.59)
CIE-LCHlch(47.09, 58.52, 142.55°)
OKLaboklab(52.85% -0.125 0.0835)
OKLCHoklch(52.85% 0.15 146.3)
XYZxyz(8.7160, 16.0869, 5.3345)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17812F #811769
analogous
#348117 #17812F #178164
triadic
#17812F #2F1781 #812F17
tetradic
#17812F #173481 #811769 #816417
square
#17812F #173481 #811769 #816417
split-complementary
#17812F #641781 #811734
monochromatic
#051A09 #0E4D1C #17812F #20B542 #37DB5C

Accessibility & contrast

On white

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

On black

4.22
#17812F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##17812F#FFFFFF#000000##FFFFFF
##17812F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17812f;
/* rgb */ color: rgb(23, 129, 47);
/* oklch */ color: oklch(52.8% 0.150 146.3);
Tailwind
colors: {
  custom: {
    50: '#69a76b',
    500: '#17812f',
    950: '#000000',
  },
}
SCSS
$custom: #17812f;
$custom-light: #69a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#17812f",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 133.585,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.15038,
    "h": 146.3
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#17812F
secondary
#B53E9A
accent
#3BC4ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #17812F

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

Preview Lab → · Contrast checker → · Palette generator →

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