#178028#178028

#178028 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.155 H 145.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#178028
RGBrgb(23, 128, 40)
HSLhsl(130, 70%, 30%)
HSVhsv(130, 82%, 50%)
CMYKcmyk(82%, 0%, 68.8%, 49.8%)
CIE-LABlab(46.67, -46.95, 38.37)
CIE-LCHlch(46.67, 60.64, 140.74°)
OKLaboklab(52.48% -0.1267 0.0887)
OKLCHoklch(52.48% 0.155 145)
XYZxyz(8.4549, 15.7727, 4.6059)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178028 #80176F
analogous
#3B8017 #178028 #17805C
triadic
#178028 #281780 #802817
tetradic
#178028 #173B80 #80176F #805C17
square
#178028 #173B80 #80176F #805C17
split-complementary
#178028 #5C1780 #80173B
monochromatic
#051A08 #0E4C18 #178028 #20B438 #36DB51

Accessibility & contrast

On white

5.05
#178028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#178028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178028
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178028#FFFFFF#000000##FFFFFF
##1780281.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731C
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178028;
/* rgb */ color: rgb(23, 128, 40);
/* oklch */ color: oklch(52.5% 0.155 145.0);
Tailwind
colors: {
  custom: {
    50: '#69a666',
    500: '#178028',
    950: '#000000',
  },
}
SCSS
$custom: #178028;
$custom-light: #69a666;
$custom-dark: #000000;
JSON
{
  "hex": "#178028",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 129.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.15464,
    "h": 145
  },
  "luminance": 0.15774
}

Semantic roles & 50–950 ramp

primary
#178028
secondary
#B43EA1
accent
#3BD0EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #178028

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

Preview Lab → · Contrast checker → · Palette generator →

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