#1F832E#1F832E

#1F832E is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.152 H 145.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F832E
RGBrgb(31, 131, 46)
HSLhsl(129, 62%, 32%)
HSVhsv(129, 76%, 51%)
CMYKcmyk(76.3%, 0%, 64.9%, 48.6%)
CIE-LABlab(47.91, -46.10, 37.03)
CIE-LCHlch(47.91, 59.13, 141.23°)
OKLaboklab(53.57% -0.1244 0.0865)
OKLCHoklch(53.57% 0.152 145.2)
XYZxyz(9.1739, 16.7201, 5.3281)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F832E #831F74
analogous
#42831F #1F832E #1F8360
triadic
#1F832E #2E1F83 #832E1F
tetradic
#1F832E #1F4283 #831F74 #83601F
square
#1F832E #1F4283 #831F74 #83601F
split-complementary
#1F832E #601F83 #831F42
monochromatic
#08200B #13521D #1F832E #2BB43F #49D45D

Accessibility & contrast

On white

4.83
#1F832E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F832E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F832E#FFFFFF#000000##FFFFFF
##1F832E1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857624
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f832e;
/* rgb */ color: rgb(31, 131, 46);
/* oklch */ color: oklch(53.6% 0.152 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ca86a',
    500: '#1f832e',
    950: '#000000',
  },
}
SCSS
$custom: #1f832e;
$custom-light: #6ca86a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f832e",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 46
  },
  "hsl": {
    "h": 129,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53565,
    "c": 0.15154,
    "h": 145.2
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#1F832E
secondary
#B648A5
accent
#43CDE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F832E

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

Preview Lab → · Contrast checker → · Palette generator →

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