#1C8A1F#1C8A1F

#1C8A1F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.171 H 143.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1C8A1F
RGBrgb(28, 138, 31)
HSLhsl(122, 66%, 33%)
HSVhsv(122, 80%, 54%)
CMYKcmyk(79.7%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.12, -50.44, 45.61)
CIE-LCHlch(50.12, 68.01, 137.88°)
OKLaboklab(55.35% -0.1368 0.1027)
OKLCHoklch(55.35% 0.171 143.1)
XYZxyz(9.8141, 18.5216, 4.3539)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8A1F #8A1C87
analogous
#508A1C #1C8A1F #1C8A56
triadic
#1C8A1F #1F1C8A #8A1F1C
tetradic
#1C8A1F #1C508A #8A1C87 #8A561C
square
#1C8A1F #1C508A #8A1C87 #8A561C
split-complementary
#1C8A1F #561C8A #8A1C50
monochromatic
#072408 #125714 #1C8A1F #26BD2A #47DA4B

Accessibility & contrast

On white

4.46
#1C8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#1C8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8A1F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8A1F#FFFFFF#000000##000000
##1C8A1F1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1c8a1f;
/* rgb */ color: rgb(28, 138, 31);
/* oklch */ color: oklch(55.4% 0.171 143.1);
Tailwind
colors: {
  custom: {
    50: '#6dad63',
    500: '#1c8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #1c8a1f;
$custom-light: #6dad63;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8a1f",
  "rgb": {
    "r": 28,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 121.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.17104,
    "h": 143.1
  },
  "luminance": 0.18523
}

Semantic roles & 50–950 ramp

primary
#1C8A1F
secondary
#BB46B8
accent
#3FE5E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1C8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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