#1D480C#1D480C

#1D480C is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.100 H 138.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#1D480C
RGBrgb(29, 72, 12)
HSLhsl(103, 71%, 16%)
HSVhsv(103, 83%, 28%)
CMYKcmyk(59.7%, 0%, 83.3%, 71.8%)
CIE-LABlab(26.51, -27.18, 29.47)
CIE-LCHlch(26.51, 40.09, 132.68°)
OKLaboklab(35.75% -0.075 0.0662)
OKLCHoklch(35.75% 0.1 138.6)
XYZxyz(2.8903, 4.9223, 1.1455)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D480C #370C48
analogous
#3B480C #1D480C #0C4819
triadic
#1D480C #0C1D48 #480C1D
tetradic
#1D480C #0C3B48 #370C48 #48190C
square
#1D480C #0C3B48 #370C48 #48190C
split-complementary
#1D480C #190C48 #480C3B
monochromatic
#0B1A04 #0B1A04 #1D480C #327C15 #47B11D

Accessibility & contrast

On white

10.58
#1D480C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1D480C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D480C
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D480C#FFFFFF#000000##FFFFFF
##1D480C1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4102
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#19453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d480c;
/* rgb */ color: rgb(29, 72, 12);
/* oklch */ color: oklch(35.7% 0.100 138.6);
Tailwind
colors: {
  custom: {
    50: '#5f7b50',
    500: '#1d480c',
    950: '#000000',
  },
}
SCSS
$custom: #1d480c;
$custom-light: #5f7b50;
$custom-dark: #000000;
JSON
{
  "hex": "#1d480c",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 12
  },
  "hsl": {
    "h": 103,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35747,
    "c": 0.10001,
    "h": 138.6
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#1D480C
secondary
#6B2C84
accent
#3AEEBB
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1D480C

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

Preview Lab → · Contrast checker → · Palette generator →

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