#1F8129#1F8129

#1F8129 is a mid, vivid green. Relative luminance 0.162; OKLCH L 52.9% C 0.153 H 144.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1F8129
RGBrgb(31, 129, 41)
HSLhsl(126, 61%, 31%)
HSVhsv(126, 76%, 51%)
CMYKcmyk(76%, 0%, 68.2%, 49.4%)
CIE-LABlab(47.17, -45.97, 38.51)
CIE-LCHlch(47.17, 59.97, 140.05°)
OKLaboklab(52.94% -0.1243 0.0891)
OKLCHoklch(52.94% 0.153 144.4)
XYZxyz(8.8150, 16.1509, 4.7503)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8129 #811F77
analogous
#46811F #1F8129 #1F815A
triadic
#1F8129 #291F81 #81291F
tetradic
#1F8129 #1F4681 #811F77 #815A1F
square
#1F8129 #1F4681 #811F77 #815A1F
split-complementary
#1F8129 #5A1F81 #811F46
monochromatic
#071E0A #135019 #1F8129 #2BB239 #47D356

Accessibility & contrast

On white

4.96
#1F8129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#1F8129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8129
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8129#FFFFFF#000000##FFFFFF
##1F81291.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83751E
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f8129;
/* rgb */ color: rgb(31, 129, 41);
/* oklch */ color: oklch(52.9% 0.153 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ba767',
    500: '#1f8129',
    950: '#000000',
  },
}
SCSS
$custom: #1f8129;
$custom-light: #6ba767;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8129",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 126.122,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52941,
    "c": 0.15293,
    "h": 144.4
  },
  "luminance": 0.16152
}

Semantic roles & 50–950 ramp

primary
#1F8129
secondary
#B448A9
accent
#43D4E4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1F8129

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

Preview Lab → · Contrast checker → · Palette generator →

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