#1C520D#1C520D

#1C520D is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.113 H 140.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#1C520D
RGBrgb(28, 82, 13)
HSLhsl(107, 73%, 19%)
HSVhsv(107, 84%, 32%)
CMYKcmyk(65.9%, 0%, 84.1%, 67.8%)
CIE-LABlab(30.18, -31.63, 32.65)
CIE-LCHlch(30.18, 45.46, 134.09°)
OKLaboklab(38.77% -0.0869 0.073)
OKLCHoklch(38.77% 0.113 140)
XYZxyz(3.5687, 6.3102, 1.4106)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C520D #430D52
analogous
#3E520D #1C520D #0D5220
triadic
#1C520D #0D1C52 #520D1C
tetradic
#1C520D #0D3E52 #430D52 #52200D
square
#1C520D #0D3E52 #430D52 #52200D
split-complementary
#1C520D #200D52 #520D3E
monochromatic
#091A04 #0A1D05 #1C520D #2E8715 #40BC1E

Accessibility & contrast

On white

9.28
#1C520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1C520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C520D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C520D#FFFFFF#000000##FFFFFF
##1C520D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#154F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1c520d;
/* rgb */ color: rgb(28, 82, 13);
/* oklch */ color: oklch(38.8% 0.113 140.0);
Tailwind
colors: {
  custom: {
    50: '#608352',
    500: '#1c520d',
    950: '#000000',
  },
}
SCSS
$custom: #1c520d;
$custom-light: #608352;
$custom-dark: #000000;
JSON
{
  "hex": "#1c520d",
  "rgb": {
    "r": 28,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 106.957,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.11344,
    "h": 140
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#1C520D
secondary
#782E8D
accent
#38EFC8
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78

Preview Lab

Preview with #1C520D

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

Preview Lab → · Contrast checker → · Palette generator →

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