#1C520F#1C520F

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

Color values

HEX#1C520F
RGBrgb(28, 82, 15)
HSLhsl(108, 69%, 19%)
HSVhsv(108, 82%, 32%)
CMYKcmyk(65.9%, 0%, 81.7%, 67.8%)
CIE-LABlab(30.20, -31.48, 31.89)
CIE-LCHlch(30.20, 44.81, 134.62°)
OKLaboklab(38.78% -0.0863 0.0717)
OKLCHoklch(38.78% 0.112 140.3)
XYZxyz(3.5822, 6.3156, 1.4821)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C520F #450F52
analogous
#3E520F #1C520F #0F5224
triadic
#1C520F #0F1C52 #520F1C
tetradic
#1C520F #0F3E52 #450F52 #52240F
square
#1C520F #0F3E52 #450F52 #52240F
split-complementary
#1C520F #240F52 #520F3E
monochromatic
#091A05 #0A1E06 #1C520F #2E8618 #3FB922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C520F#FFFFFF#000000##FFFFFF
##1C520F1.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)
#544A03
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#154F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1c520f;
/* rgb */ color: rgb(28, 82, 15);
/* oklch */ color: oklch(38.8% 0.112 140.3);
Tailwind
colors: {
  custom: {
    50: '#608353',
    500: '#1c520f',
    950: '#000000',
  },
}
SCSS
$custom: #1c520f;
$custom-light: #608353;
$custom-dark: #000000;
JSON
{
  "hex": "#1c520f",
  "rgb": {
    "r": 28,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 108.358,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38784,
    "c": 0.11222,
    "h": 140.3
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#1C520F
secondary
#7A318C
accent
#3CECCA
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #1C520F

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

Preview Lab → · Contrast checker → · Palette generator →

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