#1C8015#1C8015

#1C8015 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.165 H 142.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1C8015
RGBrgb(28, 128, 21)
HSLhsl(116, 72%, 29%)
HSVhsv(116, 84%, 50%)
CMYKcmyk(78.1%, 0%, 83.6%, 49.8%)
CIE-LABlab(46.63, -47.83, 45.57)
CIE-LCHlch(46.63, 66.07, 136.39°)
OKLaboklab(52.43% -0.1302 0.1012)
OKLCHoklch(52.43% 0.165 142.1)
XYZxyz(8.3329, 15.7384, 3.3080)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8015 #791580
analogous
#528015 #1C8015 #158044
triadic
#1C8015 #151C80 #80151C
tetradic
#1C8015 #155280 #791580 #804415
square
#1C8015 #155280 #791580 #804415
split-complementary
#1C8015 #441580 #801552
monochromatic
#061A04 #104B0C #1C8015 #28B51E #3DDD32

Accessibility & contrast

On white

5.06
#1C8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1C8015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C8015
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8015#FFFFFF#000000##FFFFFF
##1C80151.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1c8015;
/* rgb */ color: rgb(28, 128, 21);
/* oklch */ color: oklch(52.4% 0.165 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba65d',
    500: '#1c8015',
    950: '#000000',
  },
}
SCSS
$custom: #1c8015;
$custom-light: #6ba65d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8015",
  "rgb": {
    "r": 28,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 116.075,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52429,
    "c": 0.16486,
    "h": 142.1
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#1C8015
secondary
#AD3CB5
accent
#39EFE3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1C8015

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

Preview Lab → · Contrast checker → · Palette generator →

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