#1C510C#1C510C

#1C510C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.113 H 139.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#1C510C
RGBrgb(28, 81, 12)
HSLhsl(106, 74%, 18%)
HSVhsv(106, 85%, 32%)
CMYKcmyk(65.4%, 0%, 85.2%, 68.2%)
CIE-LABlab(29.81, -31.30, 32.66)
CIE-LCHlch(29.81, 45.23, 133.78°)
OKLaboklab(38.46% -0.086 0.0728)
OKLCHoklch(38.46% 0.113 139.8)
XYZxyz(3.4875, 6.1580, 1.3526)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C510C #410C51
analogous
#3E510C #1C510C #0C511E
triadic
#1C510C #0C1C51 #510C1C
tetradic
#1C510C #0C3E51 #410C51 #511E0C
square
#1C510C #0C3E51 #410C51 #511E0C
split-complementary
#1C510C #1E0C51 #510C3E
monochromatic
#091B04 #0A1C04 #1C510C #2E8614 #41BC1C

Accessibility & contrast

On white

9.41
#1C510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1C510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C510C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C510C#FFFFFF#000000##FFFFFF
##1C510C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#154E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1c510c;
/* rgb */ color: rgb(28, 81, 12);
/* oklch */ color: oklch(38.5% 0.113 139.8);
Tailwind
colors: {
  custom: {
    50: '#608251',
    500: '#1c510c',
    950: '#000000',
  },
}
SCSS
$custom: #1c510c;
$custom-light: #608251;
$custom-dark: #000000;
JSON
{
  "hex": "#1c510c",
  "rgb": {
    "r": 28,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 106.087,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.1127,
    "h": 139.8
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#1C510C
secondary
#762C8C
accent
#37F1C6
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1C510C

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

Preview Lab → · Contrast checker → · Palette generator →

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