#1C981F#1C981F

#1C981F is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.187 H 143.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#1C981F
RGBrgb(28, 152, 31)
HSLhsl(121, 69%, 35%)
HSVhsv(121, 82%, 60%)
CMYKcmyk(81.6%, 0%, 79.6%, 40.4%)
CIE-LABlab(54.87, -54.95, 50.24)
CIE-LCHlch(54.87, 74.46, 137.56°)
OKLaboklab(59.3% -0.149 0.1124)
OKLCHoklch(59.3% 0.187 143)
XYZxyz(11.9537, 22.8008, 5.0671)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C981F #981C95
analogous
#57981C #1C981F #1C985D
triadic
#1C981F #1F1C98 #981F1C
tetradic
#1C981F #1C5798 #981C95 #985D1C
square
#1C981F #1C5798 #981C95 #985D1C
split-complementary
#1C981F #5D1C98 #981C57
monochromatic
#09310A #126414 #1C981F #26CC2A #50DF53

Accessibility & contrast

On white

3.78
#1C981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#1C981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C981F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C981F#FFFFFF#000000##000000
##1C981F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1c981f;
/* rgb */ color: rgb(28, 152, 31);
/* oklch */ color: oklch(59.3% 0.187 143.0);
Tailwind
colors: {
  custom: {
    50: '#71b865',
    500: '#1c981f',
    950: '#000000',
  },
}
SCSS
$custom: #1c981f;
$custom-light: #71b865;
$custom-dark: #000000;
JSON
{
  "hex": "#1c981f",
  "rgb": {
    "r": 28,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 121.452,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59298,
    "c": 0.18663,
    "h": 143
  },
  "luminance": 0.22802
}

Semantic roles & 50–950 ramp

primary
#1C981F
secondary
#C14EBF
accent
#3CE7EC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1C981F

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

Preview Lab → · Contrast checker → · Palette generator →

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