#178126#178126

#178126 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.157 H 144.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#178126
RGBrgb(23, 129, 38)
HSLhsl(128, 70%, 30%)
HSVhsv(128, 82%, 51%)
CMYKcmyk(82.2%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.00, -47.51, 39.61)
CIE-LCHlch(47.00, 61.85, 140.18°)
OKLaboklab(52.75% -0.1282 0.0911)
OKLCHoklch(52.75% 0.157 144.6)
XYZxyz(8.5529, 16.0216, 4.4751)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178126 #811772
analogous
#3D8117 #178126 #17815B
triadic
#178126 #261781 #812617
tetradic
#178126 #173D81 #811772 #815B17
square
#178126 #173D81 #811772 #815B17
split-complementary
#178126 #5B1781 #81173D
monochromatic
#051A08 #0E4D17 #178126 #20B535 #37DB4E

Accessibility & contrast

On white

4.99
#178126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##178126#FFFFFF#000000##FFFFFF
##1781261.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837419
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178126;
/* rgb */ color: rgb(23, 129, 38);
/* oklch */ color: oklch(52.8% 0.157 144.6);
Tailwind
colors: {
  custom: {
    50: '#69a765',
    500: '#178126',
    950: '#000000',
  },
}
SCSS
$custom: #178126;
$custom-light: #69a765;
$custom-dark: #000000;
JSON
{
  "hex": "#178126",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 128.491,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.1573,
    "h": 144.6
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#178126
secondary
#B53EA5
accent
#3BD3ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #178126

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

Preview Lab → · Contrast checker → · Palette generator →

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