#1C971B#1C971B

#1C971B is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.0% C 0.187 H 142.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#1C971B
RGBrgb(28, 151, 27)
HSLhsl(120, 70%, 35%)
HSVhsv(120, 82%, 59%)
CMYKcmyk(81.5%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.51, -54.89, 51.15)
CIE-LCHlch(54.51, 75.03, 137.02°)
OKLaboklab(58.99% -0.149 0.1137)
OKLCHoklch(58.99% 0.187 142.7)
XYZxyz(11.7426, 22.4578, 4.7526)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C971B #961B97
analogous
#5A971B #1C971B #1B9758
triadic
#1C971B #1B1C97 #971B1C
tetradic
#1C971B #1B5A97 #961B97 #97581B
square
#1C971B #1B5A97 #961B97 #97581B
split-complementary
#1C971B #581B97 #971B5A
monochromatic
#092F08 #126312 #1C971B #26CB24 #4EDF4D

Accessibility & contrast

On white

3.82
#1C971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#1C971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C971B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C971B#FFFFFF#000000##000000
##1C971B1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1c971b;
/* rgb */ color: rgb(28, 151, 27);
/* oklch */ color: oklch(59.0% 0.187 142.7);
Tailwind
colors: {
  custom: {
    50: '#71b763',
    500: '#1c971b',
    950: '#000000',
  },
}
SCSS
$custom: #1c971b;
$custom-light: #71b763;
$custom-dark: #000000;
JSON
{
  "hex": "#1c971b",
  "rgb": {
    "r": 28,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 119.516,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.18743,
    "h": 142.7
  },
  "luminance": 0.22459
}

Semantic roles & 50–950 ramp

primary
#1C971B
secondary
#C14CC1
accent
#3BECEB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1C971B

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

Preview Lab → · Contrast checker → · Palette generator →

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