#1C5012#1C5012

#1C5012 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.107 H 140.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1C5012
RGBrgb(28, 80, 18)
HSLhsl(110, 63%, 19%)
HSVhsv(110, 78%, 31%)
CMYKcmyk(65%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.48, -30.39, 29.91)
CIE-LCHlch(29.48, 42.64, 135.45°)
OKLaboklab(38.2% -0.0832 0.068)
OKLCHoklch(38.2% 0.107 140.7)
XYZxyz(3.4566, 6.0276, 1.5534)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C5012 #461250
analogous
#3B5012 #1C5012 #125027
triadic
#1C5012 #121C50 #50121C
tetradic
#1C5012 #123B50 #461250 #502712
square
#1C5012 #123B50 #461250 #502712
split-complementary
#1C5012 #271250 #50123B
monochromatic
#091906 #0B1E07 #1C5012 #2D821D #3FB428

Accessibility & contrast

On white

9.52
#1C5012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1C5012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C5012
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C5012#FFFFFF#000000##FFFFFF
##1C50121.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#154D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c5012;
/* rgb */ color: rgb(28, 80, 18);
/* oklch */ color: oklch(38.2% 0.107 140.7);
Tailwind
colors: {
  custom: {
    50: '#608254',
    500: '#1c5012',
    950: '#000000',
  },
}
SCSS
$custom: #1c5012;
$custom-light: #608254;
$custom-dark: #000000;
JSON
{
  "hex": "#1c5012",
  "rgb": {
    "r": 28,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 110.323,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38202,
    "c": 0.10746,
    "h": 140.7
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#1C5012
secondary
#7B3589
accent
#41E6CC
background
#F5F8F5
surface
#EAEFE8
border
#C6CAC4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1C5012

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

Preview Lab → · Contrast checker → · Palette generator →

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