#178121#178121

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

Color values

HEX#178121
RGBrgb(23, 129, 33)
HSLhsl(126, 70%, 30%)
HSVhsv(126, 82%, 51%)
CMYKcmyk(82.2%, 0%, 74.4%, 49.4%)
CIE-LABlab(46.96, -48.00, 41.64)
CIE-LCHlch(46.96, 63.54, 139.06°)
OKLaboklab(52.71% -0.1298 0.0947)
OKLCHoklch(52.71% 0.161 143.9)
XYZxyz(8.4775, 15.9915, 4.0784)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178121 #811777
analogous
#428117 #178121 #178156
triadic
#178121 #211781 #812117
tetradic
#178121 #174281 #811777 #815617
square
#178121 #174281 #811777 #815617
split-complementary
#178121 #561781 #811742
monochromatic
#051A07 #0E4D14 #178121 #20B52E #37DB47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178121#FFFFFF#000000##FFFFFF
##1781211.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)
#847411
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178121;
/* rgb */ color: rgb(23, 129, 33);
/* oklch */ color: oklch(52.7% 0.161 143.9);
Tailwind
colors: {
  custom: {
    50: '#69a763',
    500: '#178121',
    950: '#000000',
  },
}
SCSS
$custom: #178121;
$custom-light: #69a763;
$custom-dark: #000000;
JSON
{
  "hex": "#178121",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 125.66,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52705,
    "c": 0.16068,
    "h": 143.9
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#178121
secondary
#B53EAA
accent
#3BDCED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #178121

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

Preview Lab → · Contrast checker → · Palette generator →

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