#1C8A21#1C8A21

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

Color values

HEX#1C8A21
RGBrgb(28, 138, 33)
HSLhsl(123, 66%, 33%)
HSVhsv(123, 80%, 54%)
CMYKcmyk(79.7%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.14, -50.28, 44.89)
CIE-LCHlch(50.14, 67.41, 138.24°)
OKLaboklab(55.37% -0.1362 0.1015)
OKLCHoklch(55.37% 0.17 143.3)
XYZxyz(9.8412, 18.5325, 4.4970)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8A21 #8A1C85
analogous
#4E8A1C #1C8A21 #1C8A58
triadic
#1C8A21 #211C8A #8A211C
tetradic
#1C8A21 #1C4E8A #8A1C85 #8A581C
square
#1C8A21 #1C4E8A #8A1C85 #8A581C
split-complementary
#1C8A21 #581C8A #8A1C4E
monochromatic
#072409 #125715 #1C8A21 #26BD2D #47DA4D

Accessibility & contrast

On white

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

On black

4.71
#1C8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8A21
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8A21#FFFFFF#000000##000000
##1C8A211.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c8a21;
/* rgb */ color: rgb(28, 138, 33);
/* oklch */ color: oklch(55.4% 0.170 143.3);
Tailwind
colors: {
  custom: {
    50: '#6dad64',
    500: '#1c8a21',
    950: '#000000',
  },
}
SCSS
$custom: #1c8a21;
$custom-light: #6dad64;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8a21",
  "rgb": {
    "r": 28,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 122.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55366,
    "c": 0.16988,
    "h": 143.3
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#1C8A21
secondary
#BB46B6
accent
#3FE1E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1C8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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