#1D841B#1D841B

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

Color values

HEX#1D841B
RGBrgb(29, 132, 27)
HSLhsl(119, 66%, 31%)
HSVhsv(119, 80%, 52%)
CMYKcmyk(78%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.06, -48.60, 45.00)
CIE-LCHlch(48.06, 66.24, 137.20°)
OKLaboklab(53.63% -0.132 0.1008)
OKLCHoklch(53.63% 0.166 142.6)
XYZxyz(8.9552, 16.8418, 3.8155)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D841B #821B84
analogous
#51841B #1D841B #1B844D
triadic
#1D841B #1B1D84 #841B1D
tetradic
#1D841B #1B5184 #821B84 #844D1B
square
#1D841B #1B5184 #821B84 #844D1B
split-complementary
#1D841B #4D1B84 #841B51
monochromatic
#071E06 #125111 #1D841B #28B725 #44D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D841B#FFFFFF#000000##FFFFFF
##1D841B1.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)
#877701
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1d841b;
/* rgb */ color: rgb(29, 132, 27);
/* oklch */ color: oklch(53.6% 0.166 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ca960',
    500: '#1d841b',
    950: '#000000',
  },
}
SCSS
$custom: #1d841b;
$custom-light: #6ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#1d841b",
  "rgb": {
    "r": 29,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 118.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.16613,
    "h": 142.6
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#1D841B
secondary
#B543B7
accent
#3FE9E6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1D841B

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

Preview Lab → · Contrast checker → · Palette generator →

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