#1D510F#1D510F

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

Color values

HEX#1D510F
RGBrgb(29, 81, 15)
HSLhsl(107, 69%, 19%)
HSVhsv(107, 81%, 32%)
CMYKcmyk(64.2%, 0%, 81.5%, 68.2%)
CIE-LABlab(29.86, -30.78, 31.58)
CIE-LCHlch(29.86, 44.10, 134.27°)
OKLaboklab(38.52% -0.0845 0.071)
OKLCHoklch(38.52% 0.11 140)
XYZxyz(3.5352, 6.1802, 1.4585)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D510F #430F51
analogous
#3E510F #1D510F #0F5122
triadic
#1D510F #0F1D51 #510F1D
tetradic
#1D510F #0F3E51 #430F51 #51220F
square
#1D510F #0F3E51 #430F51 #51220F
split-complementary
#1D510F #220F51 #510F3E
monochromatic
#091A05 #0B1D05 #1D510F #2F8519 #42B822

Accessibility & contrast

On white

9.39
#1D510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1D510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D510F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D510F#FFFFFF#000000##FFFFFF
##1D510F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d510f;
/* rgb */ color: rgb(29, 81, 15);
/* oklch */ color: oklch(38.5% 0.110 140.0);
Tailwind
colors: {
  custom: {
    50: '#608253',
    500: '#1d510f',
    950: '#000000',
  },
}
SCSS
$custom: #1d510f;
$custom-light: #608253;
$custom-dark: #000000;
JSON
{
  "hex": "#1d510f",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 107.273,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38519,
    "c": 0.1104,
    "h": 140
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#1D510F
secondary
#78318B
accent
#3CECC6
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1D510F

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

Preview Lab → · Contrast checker → · Palette generator →

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