#1C510F#1C510F

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

Color values

HEX#1C510F
RGBrgb(28, 81, 15)
HSLhsl(108, 69%, 19%)
HSVhsv(108, 81%, 32%)
CMYKcmyk(65.4%, 0%, 81.5%, 68.2%)
CIE-LABlab(29.83, -31.07, 31.53)
CIE-LCHlch(29.83, 44.26, 134.58°)
OKLaboklab(38.48% -0.0852 0.071)
OKLCHoklch(38.48% 0.111 140.2)
XYZxyz(3.5074, 6.1659, 1.4572)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C510F #440F51
analogous
#3D510F #1C510F #0F5123
triadic
#1C510F #0F1C51 #510F1C
tetradic
#1C510F #0F3D51 #440F51 #51230F
square
#1C510F #0F3D51 #440F51 #51230F
split-complementary
#1C510F #230F51 #510F3D
monochromatic
#091A05 #0A1D05 #1C510F #2E8519 #40B822

Accessibility & contrast

On white

9.40
#1C510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C510F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C510F#FFFFFF#000000##FFFFFF
##1C510F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c510f;
/* rgb */ color: rgb(28, 81, 15);
/* oklch */ color: oklch(38.5% 0.111 140.2);
Tailwind
colors: {
  custom: {
    50: '#608253',
    500: '#1c510f',
    950: '#000000',
  },
}
SCSS
$custom: #1c510f;
$custom-light: #608253;
$custom-dark: #000000;
JSON
{
  "hex": "#1c510f",
  "rgb": {
    "r": 28,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 108.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3848,
    "c": 0.11088,
    "h": 140.2
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#1C510F
secondary
#79318B
accent
#3CECC9
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1C510F

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

Preview Lab → · Contrast checker → · Palette generator →

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