#1D510C#1D510C

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

Color values

HEX#1D510C
RGBrgb(29, 81, 12)
HSLhsl(105, 74%, 18%)
HSVhsv(105, 85%, 32%)
CMYKcmyk(64.2%, 0%, 85.2%, 68.2%)
CIE-LABlab(29.84, -31.01, 32.71)
CIE-LCHlch(29.84, 45.07, 133.48°)
OKLaboklab(38.5% -0.0853 0.0729)
OKLCHoklch(38.5% 0.112 139.5)
XYZxyz(3.5153, 6.1723, 1.3539)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D510C #400C51
analogous
#3F510C #1D510C #0C511D
triadic
#1D510C #0C1D51 #510C1D
tetradic
#1D510C #0C3F51 #400C51 #511D0C
square
#1D510C #0C3F51 #400C51 #511D0C
split-complementary
#1D510C #1D0C51 #510C3F
monochromatic
#0A1B04 #0A1C04 #1D510C #308614 #43BC1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D510C#FFFFFF#000000##FFFFFF
##1D510C1.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)
#544900
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#174E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d510c;
/* rgb */ color: rgb(29, 81, 12);
/* oklch */ color: oklch(38.5% 0.112 139.5);
Tailwind
colors: {
  custom: {
    50: '#618251',
    500: '#1d510c',
    950: '#000000',
  },
}
SCSS
$custom: #1d510c;
$custom-light: #618251;
$custom-dark: #000000;
JSON
{
  "hex": "#1d510c",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 105.217,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.11223,
    "h": 139.5
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#1D510C
secondary
#752C8C
accent
#37F1C3
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #1D510C

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

Preview Lab → · Contrast checker → · Palette generator →

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