#1D841C#1D841C

#1D841C is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.166 H 142.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1D841C
RGBrgb(29, 132, 28)
HSLhsl(119, 65%, 31%)
HSVhsv(119, 79%, 52%)
CMYKcmyk(78%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.07, -48.53, 44.66)
CIE-LCHlch(48.07, 65.95, 137.38°)
OKLaboklab(53.64% -0.1318 0.1003)
OKLCHoklch(53.64% 0.166 142.7)
XYZxyz(8.9670, 16.8465, 3.8775)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D841C #831C84
analogous
#51841C #1D841C #1C844F
triadic
#1D841C #1C1D84 #841C1D
tetradic
#1D841C #1C5184 #831C84 #844F1C
square
#1D841C #1C5184 #831C84 #844F1C
split-complementary
#1D841C #4F1C84 #841C51
monochromatic
#071F07 #125211 #1D841C #28B627 #45D743

Accessibility & contrast

On white

4.81
#1D841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#1D841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D841C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D841C#FFFFFF#000000##FFFFFF
##1D841C1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1d841c;
/* rgb */ color: rgb(29, 132, 28);
/* oklch */ color: oklch(53.6% 0.166 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ca960',
    500: '#1d841c',
    950: '#000000',
  },
}
SCSS
$custom: #1d841c;
$custom-light: #6ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#1d841c",
  "rgb": {
    "r": 29,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 119.423,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.16559,
    "h": 142.7
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#1D841C
secondary
#B645B7
accent
#40E8E6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1D841C

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

Preview Lab → · Contrast checker → · Palette generator →

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