#1F8328#1F8328

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

Color values

HEX#1F8328
RGBrgb(31, 131, 40)
HSLhsl(125, 62%, 32%)
HSVhsv(125, 76%, 51%)
CMYKcmyk(76.3%, 0%, 69.5%, 48.6%)
CIE-LABlab(47.85, -46.78, 39.69)
CIE-LCHlch(47.85, 61.35, 139.69°)
OKLaboklab(53.5% -0.1265 0.0915)
OKLCHoklch(53.5% 0.156 144.1)
XYZxyz(9.0638, 16.6761, 4.7482)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8328 #831F7A
analogous
#48831F #1F8328 #1F835A
triadic
#1F8328 #281F83 #83281F
tetradic
#1F8328 #1F4883 #831F7A #835A1F
square
#1F8328 #1F4883 #831F7A #835A1F
split-complementary
#1F8328 #5A1F83 #831F48
monochromatic
#08200A #135219 #1F8328 #2BB437 #49D455

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8328#FFFFFF#000000##FFFFFF
##1F83281.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)
#86761C
Deuteranopia (green-blind)
#7A6F31
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8328;
/* rgb */ color: rgb(31, 131, 40);
/* oklch */ color: oklch(53.5% 0.156 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ca867',
    500: '#1f8328',
    950: '#000000',
  },
}
SCSS
$custom: #1f8328;
$custom-light: #6ca867;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8328",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 125.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.535,
    "c": 0.15613,
    "h": 144.1
  },
  "luminance": 0.16677
}

Semantic roles & 50–950 ramp

primary
#1F8328
secondary
#B648AC
accent
#43D6E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8328

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

Preview Lab → · Contrast checker → · Palette generator →

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