#178122#178122

#178122 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.160 H 144.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#178122
RGBrgb(23, 129, 34)
HSLhsl(126, 70%, 30%)
HSVhsv(126, 82%, 51%)
CMYKcmyk(82.2%, 0%, 73.6%, 49.4%)
CIE-LABlab(46.97, -47.90, 41.25)
CIE-LCHlch(46.97, 63.21, 139.27°)
OKLaboklab(52.71% -0.1295 0.094)
OKLCHoklch(52.71% 0.16 144)
XYZxyz(8.4918, 15.9971, 4.1533)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178122 #811776
analogous
#418117 #178122 #178157
triadic
#178122 #221781 #812217
tetradic
#178122 #174181 #811776 #815717
square
#178122 #174181 #811776 #815717
split-complementary
#178122 #571781 #811741
monochromatic
#051A07 #0E4D14 #178122 #20B530 #37DB48

Accessibility & contrast

On white

5.00
#178122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#178122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178122
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178122#FFFFFF#000000##FFFFFF
##1781221.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847412
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178122;
/* rgb */ color: rgb(23, 129, 34);
/* oklch */ color: oklch(52.7% 0.160 144.0);
Tailwind
colors: {
  custom: {
    50: '#69a763',
    500: '#178122',
    950: '#000000',
  },
}
SCSS
$custom: #178122;
$custom-light: #69a763;
$custom-dark: #000000;
JSON
{
  "hex": "#178122",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 126.226,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52714,
    "c": 0.16003,
    "h": 144
  },
  "luminance": 0.15998
}

Semantic roles & 50–950 ramp

primary
#178122
secondary
#B53EA9
accent
#3BDAED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #178122

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

Preview Lab → · Contrast checker → · Palette generator →

#178122 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva