#1D851B#1D851B

#1D851B is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.167 H 142.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1D851B
RGBrgb(29, 133, 27)
HSLhsl(119, 66%, 31%)
HSVhsv(119, 80%, 52%)
CMYKcmyk(78.2%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.40, -48.94, 45.33)
CIE-LCHlch(48.40, 66.71, 137.19°)
OKLaboklab(53.92% -0.1329 0.1015)
OKLCHoklch(53.92% 0.167 142.6)
XYZxyz(9.0915, 17.1143, 3.8610)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D851B #831B85
analogous
#52851B #1D851B #1B854E
triadic
#1D851B #1B1D85 #851B1D
tetradic
#1D851B #1B5285 #831B85 #854E1B
square
#1D851B #1B5285 #831B85 #854E1B
split-complementary
#1D851B #4E1B85 #851B52
monochromatic
#071F06 #125211 #1D851B #28B825 #45D942

Accessibility & contrast

On white

4.75
#1D851B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1D851B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D851B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D851B#FFFFFF#000000##FFFFFF
##1D851B1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1d851b;
/* rgb */ color: rgb(29, 133, 27);
/* oklch */ color: oklch(53.9% 0.167 142.6);
Tailwind
colors: {
  custom: {
    50: '#6daa60',
    500: '#1d851b',
    950: '#000000',
  },
}
SCSS
$custom: #1d851b;
$custom-light: #6daa60;
$custom-dark: #000000;
JSON
{
  "hex": "#1d851b",
  "rgb": {
    "r": 29,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 118.868,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5392,
    "c": 0.16727,
    "h": 142.6
  },
  "luminance": 0.17115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D851B

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

Preview Lab → · Contrast checker → · Palette generator →

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