#1F8329#1F8329

#1F8329 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.155 H 144.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F8329
RGBrgb(31, 131, 41)
HSLhsl(126, 62%, 32%)
HSVhsv(126, 76%, 51%)
CMYKcmyk(76.3%, 0%, 68.7%, 48.6%)
CIE-LABlab(47.86, -46.67, 39.26)
CIE-LCHlch(47.86, 60.99, 139.93°)
OKLaboklab(53.51% -0.1262 0.0907)
OKLCHoklch(53.51% 0.155 144.3)
XYZxyz(9.0810, 16.6830, 4.8389)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8329 #831F79
analogous
#47831F #1F8329 #1F835B
triadic
#1F8329 #291F83 #83291F
tetradic
#1F8329 #1F4783 #831F79 #835B1F
square
#1F8329 #1F4783 #831F79 #835B1F
split-complementary
#1F8329 #5B1F83 #831F47
monochromatic
#08200A #13521A #1F8329 #2BB438 #49D456

Accessibility & contrast

On white

4.84
#1F8329 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F8329 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8329
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8329#FFFFFF#000000##FFFFFF
##1F83291.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7A6F31
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8329;
/* rgb */ color: rgb(31, 131, 41);
/* oklch */ color: oklch(53.5% 0.155 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ca867',
    500: '#1f8329',
    950: '#000000',
  },
}
SCSS
$custom: #1f8329;
$custom-light: #6ca867;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8329",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 41
  },
  "hsl": {
    "h": 126,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.1554,
    "h": 144.3
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#1F8329
secondary
#B648AB
accent
#43D5E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8329

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

Preview Lab → · Contrast checker → · Palette generator →

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