#1C520B#1C520B

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

Color values

HEX#1C520B
RGBrgb(28, 82, 11)
HSLhsl(106, 76%, 18%)
HSVhsv(106, 87%, 32%)
CMYKcmyk(65.9%, 0%, 86.6%, 67.8%)
CIE-LABlab(30.17, -31.77, 33.36)
CIE-LCHlch(30.17, 46.07, 133.61°)
OKLaboklab(38.76% -0.0874 0.0741)
OKLCHoklch(38.76% 0.115 139.7)
XYZxyz(3.5564, 6.3053, 1.3462)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C520B #410B52
analogous
#3F520B #1C520B #0B521D
triadic
#1C520B #0B1C52 #520B1C
tetradic
#1C520B #0B3F52 #410B52 #521D0B
square
#1C520B #0B3F52 #410B52 #521D0B
split-complementary
#1C520B #1D0B52 #520B3F
monochromatic
#091B04 #0A1C04 #1C520B #2E8812 #41BE19

Accessibility & contrast

On white

9.29
#1C520B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C520B
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C520B#FFFFFF#000000##FFFFFF
##1C520B1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c520b;
/* rgb */ color: rgb(28, 82, 11);
/* oklch */ color: oklch(38.8% 0.115 139.7);
Tailwind
colors: {
  custom: {
    50: '#608351',
    500: '#1c520b',
    950: '#000000',
  },
}
SCSS
$custom: #1c520b;
$custom-light: #608351;
$custom-dark: #000000;
JSON
{
  "hex": "#1c520b",
  "rgb": {
    "r": 28,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 105.634,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38755,
    "c": 0.11457,
    "h": 139.7
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#1C520B
secondary
#762B8E
accent
#35F3C5
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78

Preview Lab

Preview with #1C520B

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

Preview Lab → · Contrast checker → · Palette generator →

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