#1D831B#1D831B

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

Color values

HEX#1D831B
RGBrgb(29, 131, 27)
HSLhsl(119, 66%, 31%)
HSVhsv(119, 79%, 51%)
CMYKcmyk(77.9%, 0%, 79.4%, 48.6%)
CIE-LABlab(47.72, -48.27, 44.67)
CIE-LCHlch(47.72, 65.76, 137.22°)
OKLaboklab(53.35% -0.1311 0.1001)
OKLCHoklch(53.35% 0.165 142.6)
XYZxyz(8.8203, 16.5719, 3.7705)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D831B #811B83
analogous
#51831B #1D831B #1B834D
triadic
#1D831B #1B1D83 #831B1D
tetradic
#1D831B #1B5183 #811B83 #834D1B
square
#1D831B #1B5183 #811B83 #834D1B
split-complementary
#1D831B #4D1B83 #831B51
monochromatic
#071E06 #125011 #1D831B #28B625 #44D841

Accessibility & contrast

On white

4.87
#1D831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1D831B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D831B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D831B#FFFFFF#000000##FFFFFF
##1D831B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1d831b;
/* rgb */ color: rgb(29, 131, 27);
/* oklch */ color: oklch(53.3% 0.165 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ca860',
    500: '#1d831b',
    950: '#000000',
  },
}
SCSS
$custom: #1d831b;
$custom-light: #6ca860;
$custom-dark: #000000;
JSON
{
  "hex": "#1d831b",
  "rgb": {
    "r": 29,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 118.846,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.16499,
    "h": 142.6
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D831B

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

Preview Lab → · Contrast checker → · Palette generator →

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