#1C8B28#1C8B28

#1C8B28 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.167 H 144.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1C8B28
RGBrgb(28, 139, 40)
HSLhsl(126, 66%, 33%)
HSVhsv(126, 80%, 55%)
CMYKcmyk(79.9%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.53, -49.98, 42.53)
CIE-LCHlch(50.53, 65.63, 139.60°)
OKLaboklab(55.71% -0.1351 0.0975)
OKLCHoklch(55.71% 0.167 144.2)
XYZxyz(10.0938, 18.8641, 5.1162)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8B28 #8B1C7F
analogous
#488B1C #1C8B28 #1C8B5F
triadic
#1C8B28 #281C8B #8B281C
tetradic
#1C8B28 #1C488B #8B1C7F #8B5F1C
square
#1C8B28 #1C488B #8B1C7F #8B5F1C
split-complementary
#1C8B28 #5F1C8B #8B1C48
monochromatic
#07250B #125819 #1C8B28 #26BE37 #47DA57

Accessibility & contrast

On white

4.40
#1C8B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#1C8B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8B28
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8B28#FFFFFF#000000##000000
##1C8B281.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D19
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1c8b28;
/* rgb */ color: rgb(28, 139, 40);
/* oklch */ color: oklch(55.7% 0.167 144.2);
Tailwind
colors: {
  custom: {
    50: '#6dae68',
    500: '#1c8b28',
    950: '#000000',
  },
}
SCSS
$custom: #1c8b28;
$custom-light: #6dae68;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8b28",
  "rgb": {
    "r": 28,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 126.486,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55709,
    "c": 0.16658,
    "h": 144.2
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#1C8B28
secondary
#BC47AF
accent
#3ED7E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1C8B28

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

Preview Lab → · Contrast checker → · Palette generator →

#1C8B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva